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

**What happened (please include outputs or screenshots)**: from kubernetes import client, config config.load_kube_config('token//xxxx.conf') k8s_api = client.BatchV1beta1Api() AttributeError: module 'kubernetes.client' has no attribute 'BatchV1beta1Api' k8s version = 1.20 k8s sdk version...

kind/bug
lifecycle/rotten

**What happened ( ![图片](https://github.com/kubernetes-client/python/assets/126088761/16910ebe-a62a-48bf-a267-b690b365b98f) )**: **Anything else we need to know?**:I have two versions of k8s here, one is version 1.24 and the other is version 1.26. When I call...

kind/bug
lifecycle/rotten

**What is the feature and why do you need it**: `google-auth` is a required dependency which seems to only be used for kubernetes running on GCP. **Describe the solution you'd...

kind/feature
lifecycle/stale

#### What type of PR is this? /kind documentation #### What this PR does / why we need it: #### Which issue(s) this PR fixes: Fixes # #### Special notes...

cncf-cla: yes
size/S
kind/documentation
approved
release-note-none

**What happened (please include outputs or screenshots)**: For unit testing, I want to change the kubeconfig file at runtime and after the import of the config module. As my tests...

kind/bug
lifecycle/rotten

I'm new around here and I was exploring the configuration flow/data structures and I ran into the realization that when I have the following set of config files: ``` KUBECONFIG=~/.kube/config-1:~/.kube/config-2:~/.kube/config-3...

kind/documentation
lifecycle/rotten

**What happened (please include outputs or screenshots)**: Sometimes the watch stream seems to be missing job completion events. This is not easy to reproduce as 2 executions of the same...

kind/bug
lifecycle/rotten

/kind feature Enhances the app as I have added Kubernetes packages. #### Does this PR introduce a user-facing change? NA

kind/feature
cncf-cla: yes
size/XS
do-not-merge/release-note-label-needed
lifecycle/rotten

**What happened (please include outputs or screenshots)**: If I try to read the logs of a pod with the following: ``` from kubernetes import config, client config.load_incluster_config() k8s = client.CoreV1Api()...

kind/bug
lifecycle/rotten

#### What type of PR is this? /kind bug #### What this PR does / why we need it: The `test_load_kube_config_from_dict_with_temp_file_path` test calls `_cleanup_temp_files` without invoking it `_cleanup_temp_files()`. This PR...

kind/bug
cncf-cla: yes
size/XS
release-note-none