python
python copied to clipboard
Official Python client library for kubernetes
https://github.com/kubernetes-client/python/blob/7a278c794a101989cc19fe8eef1e9799235d9805/kubernetes/client/rest.py#L226-L235 Ran into an issue here, where the rest call is returning a 200 code, but with an error message: RawError: {"code":"SnapshotsLimitReached, "message": "The incremental snapshot count was exceeded the...
#### What type of PR is this? /kind documentation #### What this PR does / why we need it: Fix the broken read the docs build: https://readthedocs.org/projects/kubernetes/builds/ #### Special notes...
**What you expected to happen**: A Python script provided with a kubeconfig that contains a user exec section to get a client certificate should connect to the cluster. The kubeconfig...
#### What type of PR is this? /kind feature #### What this PR does / why we need it: Makes Google auth as optional dependency, gives users a option to...
**What happened (please include outputs or screenshots)**: Executing command in pod fails if _request_timeout is passed as tuple. The exact error is `Exception when calling CoreV1Api->connect_get_namespaced_pod_exec: (0) Reason: '
**What happened (please include outputs or screenshots)**: I would like to use kubernetes-client to exec into a pod container. This script is to run from within another pod, so I...
**What happened (please include outputs or screenshots)**: According to https://github.com/kubernetes/kubernetes/issues/127746, if delete is called with an empty name, the client will not fail but instead call delete on the collection...
#### What type of PR is this? #### What this PR does / why we need it: #### Which issue(s) this PR fixes: Fixes # #### Special notes for your...
`py` is in maintenance mode and nothing in this project depends on it. #### What type of PR is this? Fixes #2286 #### Special notes for your reviewer: #### Does...
The tests have a dependency on [py](https://github.com/kubernetes-client/python/blob/master/test-requirements.txt#L6), but I can't see anything in the code import this and the tests run successfully without it. Also note that the `py` package...