python
python copied to clipboard
Official Python client library for kubernetes
I have my pipeline running on cluster1 . In one of the job I need to switch the cluster to cluster 2. So, I parse the credentials & change the...
**What happened (please include outputs or screenshots)**: Due to already-reported issues with ExecProvider in 32.0.0, loading my EKS-based kube config failed. i was doing my testing in an interactive shell,...
**What happened (please include outputs or screenshots)**: Hello! I'm seeing a regression in the latest verion where when I try to `config.load_kube_config(context="cluster_id")`, instead of proceeding with the command, it drops...
**What happened (please include outputs or screenshots)**: When I call `config.load_kube_config()` it bombs out loading the config when i have an OIDC auth method that talks to a host using...
We're running a kubernetes cluster on [Nebius](https://nebius.com/) and I'm using the [Nebius CLI tool](https://docs.nebius.com/cli/quickstart) with a federated identity. However it seems like the ExecProvider of the Python kubernetes client is...
**What happened (please include outputs or screenshots)**: I use stream api to implement "kubectl exec", when i test my code, sometimes it will lose data. After debuging, i think the...
**What happened (please include outputs or screenshots)**: urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.a1.cp.cna.at', port=6443): Max retries exceeded with url: /apis/authentication.k8s.io/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate...
**What happened (please include outputs or screenshots)**: Trying to setup a simple configuration I get the following Exception: ``` $ ./bin/python test.py Traceback (most recent call last): File "/home/cwb/kube_python_client/test.py", line...
#### What type of PR is this? /kind documentation #### What this PR does / why we need it: Generated documentation to help new developers to get up to speed...
**What happened (please include outputs or screenshots)**: I like to execute this code snippet within a lambda ``` """ Creates a deployment using AppsV1Api from file nginx-deployment.yaml. """ from os...