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

How to interact with the PodResource API using Python? #2378

Open
arjraman opened this issue Mar 26, 2025 · 1 comment
Open

How to interact with the PodResource API using Python? #2378

arjraman opened this issue Mar 26, 2025 · 1 comment

Comments

@arjraman
Copy link

Is there a way to interact with the Kubelet PodResource API using Python? I see there's a library in GO (https://pkg.go.dev/k8s.io/kubelet/pkg/apis/podresources/v1#PodResourcesListerClient), but I'm wondering if there's an example on how to do in Python.

Thanks

@roycaihw
Copy link
Member

This client is generated from the upstream openapi spec. I think the upstream openapi spec only supports kube-apiserver APIs and does not support kubelet API, so it cannot be supported in this client library at the moment.

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

2 participants