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

[BUG] Intermittent timeouts due to apiserver shutdown #4698

Open
jemag opened this issue Dec 11, 2024 · 0 comments
Open

[BUG] Intermittent timeouts due to apiserver shutdown #4698

jemag opened this issue Dec 11, 2024 · 0 comments
Labels

Comments

@jemag
Copy link

jemag commented Dec 11, 2024

Describe the bug
Workloads in the cluster will experience intermittent timeouts to the API server. When we investigate and correlate these API server timeouts, we notice that they coincide almost always with the apiserver shutting down.

For example,
Here we can see our KEDA workload timing out at around 21:45:17:
Image
and here are the logs within the API server:
Image

Similar example for cert-manager:
Image
and api-server shutdown:
Image

Another example with kyverno:
Image
and api-server shutdown:
Image

To Reproduce
Steps to reproduce the behavior:

  1. Run workloads that require connection to the API server
  2. Notice intermittent timeouts and correlate with api-server logs. Notice api-server shutdown

Expected behavior
There should not be a timeout whenever the api-server shuts down unless extraordinary circumstances.

We do not have vision on how the API-server is setup on AKS side, but we would expect proper behavior such as:

  • There are multiple containers answering requests to the API server
  • If one of the container needs to shutdown, it should
    • Stop accepting new requests
    • do a proper graceful terminating where remaining requests are fully answered before fully shutting down

Additional Context:
sku_tier is Standard

Environment (please complete the following information):

  • Kubernetes version v1.30.5
@jemag jemag added the bug label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant