You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you expected to happen:
I expected to have a Dynamic Client object I could use to talk to the API server.
How to reproduce it (as minimally and precisely as possible):
Please see files above. No API server is necessary. Just use any client-certificate and client-key that will de-serialize.
Anything else we need to know?:
Environment:
Kubernetes version (kubectl version): <Not installed>
OS (e.g., MacOS 10.13.6): Ubuntu 24.04.2 LTS
Python version (python --version): Python 3.12.3
Python client version (pip list | grep kubernetes): kubernetes 32.0.1
The text was updated successfully, but these errors were encountered:
v1 = client.CoreV1Api()
print("Listing pods with their IPs:")
ret = v1.list_pod_for_all_namespaces(watch=False)
for i in ret.items:
print("%s\t%s\t%s" % (i.status.pod_ip, i.metadata.namespace, i.metadata.name))
What happened (please include outputs or screenshots):
Trying to setup a simple configuration I get the following Exception:
Code and Kubeconfig:
Environment Setup and Test Run:
What you expected to happen:
I expected to have a Dynamic Client object I could use to talk to the API server.
How to reproduce it (as minimally and precisely as possible):
Please see files above. No API server is necessary. Just use any
client-certificate
andclient-key
that will de-serialize.Anything else we need to know?:
Environment:
kubectl version
): <Not installed>python --version
): Python 3.12.3pip list | grep kubernetes
): kubernetes 32.0.1The text was updated successfully, but these errors were encountered: