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

Log error from kube-apiserver #582

Closed
pezzak opened this issue Jun 17, 2021 · 0 comments · Fixed by #583
Closed

Log error from kube-apiserver #582

pezzak opened this issue Jun 17, 2021 · 0 comments · Fixed by #583

Comments

@pezzak
Copy link
Contributor

pezzak commented Jun 17, 2021

NPD has check if kube-apiserver ready. This check uses wait.PullImmediate function and it doesn't return error from kube-apiserver, instead of this it returns 'timed out waiting for the condition' in any case:

I0617 12:29:26.326219       1 k8s_exporter.go:54] Waiting for kube-apiserver to be ready (timeout 30s)...
W0617 12:29:57.423619       1 k8s_exporter.go:56] kube-apiserver did not become ready: timed out on waiting for kube-apiserver to return the node object: timed out waiting for the condition

And it makes it harder to find the error

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

Successfully merging a pull request may close this issue.

1 participant