Open
Description
What happened (please include outputs or screenshots):
The following code fails with a resource not found error.
kubernetes.config.load_kube_config()
with kubernetes.client.ApiClient() as client:
v1 = kubernetes.dynamic.DynamicClient(client)
rsrc = v1.resources.get(kind='service')
What you expected to happen:
That it returns the Service
resource, just like Kubernetes API and kubectl does.
How to reproduce it (as minimally and precisely as possible):
Run the above snippet