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)**: `api_response = api_instance.patch_namespaced_deployment_scale(name, namespace,{'spec': {'replicas': 2}})` When I try to scale up my machines using `patch_namespaced_deployment_scale` function, it deletes the already running machines...

kind/bug
lifecycle/rotten

**What happened (please include outputs or screenshots)**: According to #862, this library is supposed to support JSON Patch in `patch_namespaced_custom_object()`, not just JSON Merge Patch. As far as I can...

kind/bug
lifecycle/rotten

Hi team, Can you please share the EoS for v29.0.0 or What is the lifecycle of each version released? Regards, Sahil

lifecycle/rotten

**Link to the issue (please include a link to the specific documentation or example)**: https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1RollingUpdateDeployment.md https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1HTTPGetAction.md **Description of the issue (please include outputs or screenshots if possible)**: Object type link...

lifecycle/stale
kind/documentation

Hi :wave:, I have a valid `json` log messages in my container. I would like to get a last log message: ```python from kubernetes import client, config config.load_kube_config() v1 =...

kind/bug
lifecycle/stale

**What happened (please include outputs or screenshots)**: When running the following test code; ``` body=k8s.client.V1PersistentVolumeClaim(metadata=k8s.client.V1ObjectMeta( name="%s-%s" % ("username","test_name") ), spec=k8s.client.V1PersistentVolumeClaimSpec( volume_mode="Filesystem", access_modes=["ReadWriteOnce"], storage_class_name="build-pvc", resources=k8s.client.V1ResourceRequirements( requests={"storage","1Gi"} ) ) ) try: api_response=k8s_client.create_namespaced_persistent_volume_claim("testnamespace",body,pretty=True)...

kind/bug
lifecycle/stale

**What happened (please include outputs or screenshots)**: ```python client = dynamic.DynamicClient( api_client.ApiClient(configuration=config.load_kube_config()) ) api = client.resources.get(api_version="kubeflow.org/v1", kind="PyTorchJob") result = api.get() jobs_in_queue = [job for job in result.items if some_checks(job)] for...

kind/bug
lifecycle/rotten

The Pod_log.py used to print the all the logs generated by pods. #### What type of PR is this? /kind feature #### What this PR does / why we need...

cncf-cla: yes
size/M
release-note-none
needs-kind

**What happened (please include outputs or screenshots)**: I was trying the client to obtain info about the running pods in a **freshly-installed** Kubernetes cluster using exactly the example provided in...

kind/bug
lifecycle/rotten

**What happened (please include outputs or screenshots)**: Unable to import Kubernetes with latest python Kubernetes client. **What you expected to happen**: Should be able to import **How to reproduce it...

kind/bug
lifecycle/rotten