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

kong runtime not effective immediately after kic update the config by calling /config?hash_check=1 #13707

Open
1 task done
wuzhuoquan opened this issue Sep 24, 2024 · 0 comments

Comments

@wuzhuoquan
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Kong version ($ kong version)

Kong 2.4.1

Current Behavior

We use kong and KIC in k8s cluster, they works well mostly.
But sometimes, we found that after we scale down the service deployment replicas, that means some pods are deleted and remove from the service endpoint, KIC call the /config API of kong to modify the configurations in kong, after that, we found that kong runtime not effect the configuration immediately, and still send request to the deleted pod, and we found some Connection problem.

E.G.
12:28:15 the pod with ip 172.21.143.79 is removed from endpoint in k8s
image

but kong still send request the this ip address in 12:29:34, that means this pod's ip is not remove from the upstream list yet.
image

Expected Behavior

after the pod's ip has been removed from the endpoint, kong should not sent request to this pod any more.

Steps To Reproduce

It's not easy to reproduce the problem, This problem occurs randomly.

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant