Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting this error: "failure to get a peer from the ring-balancer" #6733

Open
1 task done
rookie-fpc opened this issue Nov 27, 2024 · 0 comments
Open
1 task done

getting this error: "failure to get a peer from the ring-balancer" #6733

rookie-fpc opened this issue Nov 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rookie-fpc
Copy link

Is there an existing issue for this?

  • 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.
image
image

@rookie-fpc rookie-fpc added the bug Something isn't working label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant