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

As title. Tyvm

kind/feature
lifecycle/rotten

Hi, I have the same issue here #1792 for creating a resource kind `Workflow` (it's for argo workflow) using `utils.create_from_dict` I have this error: `module 'kubernetes.client' has no attribute 'ArgoprojIoV1alpha1Api'`...

kind/bug
lifecycle/rotten

**What happened (please include outputs or screenshots)**: I get `HTTP response body: 404 page not found` when I try to create a `ClusterIssuer` for cert-manager. Here's the full stack trace:...

kind/bug
lifecycle/rotten

**Link to the issue (please include a link to the specific documentation or example)**: https://github.com/kubernetes-client/python/blob/master/examples/pod_exec.py **Description of the issue (please include outputs or screenshots if possible)**: I think it would...

kind/documentation
lifecycle/rotten

**What happened (please include outputs or screenshots)**: ![image](https://github.com/kubernetes-client/python/assets/136793553/1859f746-2823-439b-98dc-165d1116b95d) **What you expected to happen**: When two DNS are provided, dynamic client should properly route to one of them. It is not...

kind/bug
lifecycle/rotten

**What happened (please include outputs or screenshots):** I use create_namespaced_deployment to apply 999.yaml in pod "cloneyaml". ``` root@cloneyaml:/cloneyaml# ls 999.yaml applyv2.py ``` **here is my code "applyv2.py":** ``` from flask...

lifecycle/rotten

Guys, Can someone please let me know why this code is not working and throws an error? ``` contexts, active_context = config.list_kube_config_contexts() if not contexts: sys.exit(1) contexts = [context['name'] for...

kind/documentation
lifecycle/rotten

https://github.com/kubernetes-client/python/blob/master/doc/source/kubernetes.client.api.core_v1_api.rst is render at https://kubernetes.readthedocs.io/en/latest/kubernetes.client.api.core_v1_api.html and user finds ![Screenshot 2023-06-27 at 09-31-33 kubernetes client api core_v1_api module — kubernetes-python-client documentation](https://github.com/kubernetes-client/python/assets/1506457/e0034062-9c4e-4c7d-ab5d-065af97ab788) The module documentation is missing completely. Openapi Generator produces some...

kind/documentation
lifecycle/rotten

**What happened (please include outputs or screenshots)**: Certain k8s API calls (f.e. deleting a namespace) result in the following deprecation warnings: ``` venv-test/lib/python3.9/site-packages/kubernetes/client/rest.py:44: DeprecationWarning: HTTPResponse.getheaders() is deprecated and will be...

kind/bug
help wanted

**What happened (please include outputs or screenshots)**: Running this simple script in a big cluster takes about 30 seconds to execute: ``` import kubernetes as k8s k8s.config.load_kube_config() apps = k8s.client.AppsV1Api()...

kind/bug