-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Kubernetes > 1.22 #354
Comments
I have a cluster on k8s 1.26.8 with scaphandre docker image with tag dev and it works well. |
We are running |
The error i see in the logs is this btw:
|
I have the exact same problem on kubernetes According to the Kubernetes documentation, specifying the namespace in the URL is required. And from what I found, it looks like the methods used from the
|
I was wrong. The empty namespace in the URL is not the problem. My problem was related with freezing of the parsing of the Kubernetes API response by the I created a patch in the After finding this, I am not sure if my problem is related with this issue, so apologize for spam. But still, I think that the parsing function in the |
Problem
Hi, we are running a recent version of Kubernetes, and for some reason, scrapandre does not pick up any pods. I've looked into it a bit, and it might be related to the
kube-sync
crate. It is using a fairly old version ofk8s-openapi
that only supports Kubernetes 1.22. Looking into this a bit more, there may be an issue with thekube-sync
in the near future as thek8s-openapi
removed some of the used features in favor of thekube
library (API clients) see here.Solution
Thus, it might be better to migrate away from the
kube-sync
crate to thekube
crate to stay up to date with newer Kubernetes releases.Alternatives
Update the
kube-sync
to work with newer versions of Kubernetes.The text was updated successfully, but these errors were encountered: