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 client: proper handle of result from ServerPreferredResources #142

Closed
diafour opened this issue Mar 12, 2020 · 0 comments
Closed

kube client: proper handle of result from ServerPreferredResources #142

diafour opened this issue Mar 12, 2020 · 0 comments
Milestone

Comments

@diafour
Copy link
Contributor

diafour commented Mar 12, 2020

The problem is occured if kubernetes binding has no apiVersion field and there are problems with custom APIs in cluster:

kubernetes[0]: Cannot get GroupVersionResource info for
apiVersion '' kind 'secret' from api-server.
Possibly CRD is not created before informers are started.
Error was: unable to retrieve the complete list of server APIs:
custom.metrics.k8s.io/v1beta1: the server is currently unable to handle the request,
external.metrics.k8s.io/v1beta1: the server is currently unable to handle the request,
metrics.k8s.io/v1beta1: the server is currently unable to handle the request

ServerPreferredResources result list should be checked first even if error is occured.

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