python icon indicating copy to clipboard operation
python copied to clipboard

Official Python client library for kubernetes

Results 346 python issues
Sort by recently updated
recently updated
newest added

Hi, I just met a dependency problem, and it is fixed by pr #2131. Consider cut a new release? Thanks ~

kind/feature

i try to use create_namespaced_custom_object , but the return is 404 this is the code from kubernetes import client, config config.load_kube_config() api_instance = client.CustomObjectsApi() metric_object = { 'apiVersion': 'metrics.k8s.io/v1beta1', 'kind':...

kind/bug

**What happened (please include outputs or screenshots)**: For example, the `patch_namespaced_pod` from the repro steps below fails with the following stack trace ``` Traceback (most recent call last): File "test.py",...

kind/bug

**What happened (please include outputs or screenshots)**: I'm using client version 28.1.0 and tried to patch a role, but getting the following error ...rce rules must supply at least one...

kind/bug
lifecycle/rotten

**What happened (please include outputs or screenshots)**: **What you expected to happen**: I could exec my command in the pod **How to reproduce it (as minimally and precisely as possible)**:...

kind/bug

Right now we are using the list_pod_for_all_namespaces function to get the list of pods (V1PodList). However, we are interested in pod labels alone. So, It is not optimized for our...

kind/feature

**What happened (please include outputs or screenshots)**: Sometimes code failed on: ``` for pod_event in self._watcher.stream(func=self._core_api.list_pod_for_all_namespaces, **watch_kwargs): ``` Getting this exception: ``` urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes...

kind/bug

**What is the feature and why do you need it**: All API calls done through this client today goes through urllib3, where the timeout is default to set to None,...

kind/feature

On using python client in azure function to do custom operation on k8s object in azure cluster and Azure cluster config is configured to use kubelogin for auth via service...

kind/feature
help wanted

**What is the feature and why do you need it**: The feature is the integration of the Kubernetes Metrics API into the Python client. This addition will allow users to...

kind/feature
help wanted