kubernetes-ingress-controller
kubernetes-ingress-controller copied to clipboard
getting this error: "failure to get a peer from the ring-balancer"
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
Kong Gateway Version: 2.8.x
Kong Ingresss Controller Version: 2.12.x
K8S Version: 1.28.8
1. httproute yaml:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: ollama-route
namespace: ollama
annotations:
konghq.com/strip-path: 'true'
konghq.com/preserve-host: "true"
spec:
parentRefs:
- name: kong
namespace: kong
hostnames:
- "ollama.example.com"
rules:
- matches:
- path:
type: PathPrefix
value: /*
- backendRefs:
- name: ollama
port: 11434
Kong Ingress Controller version
2.12.x
Kubernetes version
1.28.8
Anything else?
Backend service type is cluster ip and checked can be accessed in K8S
/]# curl ollama.ollama:11434 -v
* Rebuilt URL to: ollama.ollama:11434/
* Trying 192.168.1.153...
* TCP_NODELAY set
* Connected to ollama.ollama (192.168.1.153) port 11434 (#0)
> GET / HTTP/1.1
> Host: ollama.ollama:11434
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: text/plain; charset=utf-8
< Date: Wed, 27 Nov 2024 03:13:58 GMT
< Content-Length: 17
<
* Connection #0 to host ollama.ollama left intact
I checked router and upstream, seems KIC creater two rules with one router. But my Gateway just have one pod. I don't know if that has anything to do with it.