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

KIC pod fails to detect new kong-admin IP, when new pod comes up intermittently. #6946

Open
1 task done
pratham-pay opened this issue Jan 9, 2025 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@pratham-pay
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

We are getting below error most of the times in KIC Pod for newly provision kong-admin pod

Error: unable to build kong api client(s): client not ready: making HTTP request:
Get "https://x.x.x.x:8444/status": dial tcp x.x.x.x:8444: connect: connection refused

this is happening intermittently.

Expected Behavior

ideally kong KIC should notice the newly created kong-admin pod and only send request to new IP.
kong kic is discovering kong-admin through k8s service.

service/kong-prod-kong-admin                    NodePort       172.20.121.91    <none>                                                 8001:32256/TCP,8444:31192/TCP   297d
endpoints/kong-prod-kong-admin                 x.x.x.x:8001,x.x.x.x:8001,x.x.x.x:8444 ,x.x.x.x:8444   297d

But somehow kong-kic is caching the old ip detail. and tries to connect to it.This is impacting the new changes that we are adding in the kong gateway.

Steps To Reproduce

This is happening intermittently.

Kong Ingress Controller version

image: kong/kubernetes-ingress-controller:3.1

Kubernetes version

EKS version 1.29

Anything else?

No response

@pratham-pay pratham-pay added the bug Something isn't working label Jan 9, 2025
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