python
python copied to clipboard
Official Python client library for kubernetes
**What happened (please include outputs or screenshots)**: When authentication method is `exec` and the provider is `aws`, the command can sometimes return non-zero status without `stderr`. Below is an example...
**Link to the issue (please include a link to the specific documentation or example)**: In https://github.com/kubernetes-client/python/issues/199#issuecomment-614084830 we see example of getting logs until interrupt. **Description of the issue (please include...
#### What type of PR is this? /kind bug #### What this PR does / why we need it: #### Which issue(s) this PR fixes: Fixes #2039 #### Special notes...
**What happened (please include outputs or screenshots)**: Im running `connect_get_namespaced_service_proxy_with_path(name, namespace, path="actuator")` to get JSON data from my webservice. The result is a JSON list: `["foo", "bar"]` but the function...
**What happened (please include outputs or screenshots)**: I have a configmap as show below ``` Name: test-configmap Namespace: default Labels: Annotations: Data ==== test.json: ---- [ { "targets": [ "127.0.0.1:12321"...
#### What type of PR is this? cleanup(?) /kind cleanup #### What this PR does / why we need it: Fixes a lot of potential issues when someone tries to...
**What happened (please include outputs or screenshots)**: >>> Apps = deployments.list_namespaced_deployment(self, namespace="foo") Traceback (most recent call last): File "", line 1, in NameError: name 'self' is not defined >>> Apps...
**What is the feature and why do you need it**: I'm trying to use Kubernetes python sdk to delete a CR with `custom_api.delete_namespaced_custom_object`. My CR has a finalizer and a...
**What happened**: If a timeout happens when steaming exec command, the websocket client simply stops reading, and the ERROR_CHANNEL becomes empty if the exec command is not finished. Then if...
#### What type of PR is this? /kind feature #### What this PR does / why we need it: kubeconfig support the option [proxy-url](https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/#Cluster) . This is option is ignored...