python
python copied to clipboard
Official Python client library for kubernetes
I noticed a few minor improvements that can be made to the [auto-generated docs](https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/CoreV1Api.md#replace_namespaced_secret). Admittedly, these changes are obvious for the user to make, but typically one expects examples to...
https://github.com/kubernetes-client/python/blob/98a5be84a7e853eb267e893c9f6186c991ac55e1/kubernetes/base/config/kube_config.py#L425-L438 OIDC Connections from a Windows Desktop fail for the following reason in the code. Some suggestions to workaround. In python on Windows tempfile.NamedTemporaryFile fails to open for write with...
Hi team, I would like to inquire about the release frequency of the library. Specifically, I would like to understand how often new versions are released and whether there is...
**What happened (please include outputs or screenshots)**: Here is the command ``` command = ['bash', '/mnt_target/rsync_command.sh'] res = stream(tess_client.api.connect_get_namespaced_pod_exec, pod_name, namespace, command=command, stderr=True, stdin=False, stdout=True, tty=False, async_req = False )...
this broke parsing of my kubeconfig in `29.0.0` .. apparently `32.0.1` works without breaking but I guess that stringification of the whole object was not intended. #### What type of...
- Implement delete_from_yaml functionality - Combine create_from_yaml and delete_from_yaml into yaml_processor, preserving existing signatures for create (original PR #1392 by @DiptoChakrabarty) #### What type of PR is this? /kind feature...
I do not have permission to reopen #1767 but the issue persists into 2025 and needs a fix or generic workaround. **What happened (please include outputs or screenshots)**: Setting the...
#### What type of PR is this? /kind bug #### What this PR does / why we need it: populate `ExecCredentialSpec.Cluster.config` from the `client.authentication.k8s.io/exec` extension #### Which issue(s) this PR...
**What happened (please include outputs or screenshots)**: I have a deployment in GCP in a k8s cluster. I am trying to remove `LivenessProbe`, `ReadnessProbe` && `StartupProbe`, however the deployment does...
**What happened (please include outputs or screenshots)**: https://github.com/kubernetes-client/python/issues/2298 / https://github.com/kubernetes-client/python/pull/2303 implemented the `provideClusterInfo`. It misses this part (from https://kubernetes.io/docs/reference/config-api/client-authentication.v1/#client-authentication-k8s-io-v1-Cluster): > Config holds additional config data that is specific to the...