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

kube-controller-manager / kube-scheduler: add configuration for skipping service check #19268

Open
adammw opened this issue Dec 16, 2024 · 0 comments

Comments

@adammw
Copy link
Contributor

adammw commented Dec 16, 2024

Currently, both kube-controller-manager and kube-scheduler perform service checks using the /healthz endpoint without a way of disabling it. The health_url config property defaults to the metrics endpoint with /metrics replaced by /healthz.

We are looking to use both checks with EKS, given that they now support fetching these metrics via a custom APIService as documented here, however they do not expose the container's /healthz endpoint meaning we experience errors on the service check and have it report a failure.

Workaround
At the moment we are (a)busing the fact the regex defaulting logic checks for an exact match of ending with /metrics and using a prometheus_url: https://kubernetes.default.svc/apis/metrics.eks.amazonaws.com/v1/kcm/container/metrics? to invalidate the defaulting logic. This appears to be working with EKS for now.

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