- Notifications
You must be signed in to change notification settings - Fork3.4k
Open
Description
What happened (please include outputs or screenshots):
The following code fails with a resource not found error.
kubernetes.config.load_kube_config()withkubernetes.client.ApiClient()asclient:v1=kubernetes.dynamic.DynamicClient(client)rsrc=v1.resources.get(kind='service')
What you expected to happen:
That it returns theService
resource, just like Kubernetes API and kubectl does.
How to reproduce it (as minimally and precisely as possible):
Run the above snippet