python
python copied to clipboard
Official Python client library for kubernetes
**What happened (please include outputs or screenshots)**: I have created a config map via create_namespaced_config_map. I am attempting to patch it by appending existing data. Tried like this cm =...
**What happened (please include outputs or screenshots)**: After `onstarted_leading` function throw exception and finish, the process still leading. **What you expected to happen**: The process stop leading immediatly. **How to...
**What is the feature and why do you need it**: Currently when a watch is opened to the kubernetes api we do not send regular keepalives on the connection. That...
Our tests had been running fine till we started running into the following issue where the kubernetes client websocket call will terminate with an exception: channel = stream(api.connect_get_namespaced_pod_exec, /usr/lib/python3.8/site-packages/kubernetes/stream/stream.py:35: in...
**What is the feature and why do you need it**: I would like to be able to delete custom objects using a label selector. **Describe the solution you'd like to...
**What happened (please include outputs or screenshots)**: Juju generates kubectl configs for users when adding them to a Juju controller and supports multiple main controllers resulting in an array output...
Please can you provide an example of node_selector in V1PodSpec please? I'm struggling to use it
**What happened (please include outputs or screenshots)**: I am having a config file of a dead/deleted/inaccessible cluster. I am trying to accessing the cluster using kubernetes-client-python. By default kube-client retries...
How do we get access to the slack channel mentioned in the readme? https://kubernetes.slack.com/messages/C76GB48RK/ Is this channel still active? Thanks!!
Kubernetes API calls do support async operations. As of now, we don't a have to provide the callbacks for async calls. It would be good idea to provide success and...