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)**: Code: ``` from kubernetes import client, config from kubernetes.stream import stream config.load_incluster_config() api = client.CoreV1Api() data_stream = stream( api.connect_get_namespaced_pod_exec( "hello-world", "default", container="hello-world", command=["sh",...

kind/bug
lifecycle/stale

https://github.com/kubernetes-client/python/blob/a6d44ff625b5e8d8ad380a70245d40fa3d5472b2/examples/pod_portforward.py#L32 Please, how this works if one would like to create a portforward, and then use another library such as Kafka client or Redis client to communicate through the port...

lifecycle/stale

I would like to be able to spin up multiple port forwards at the same time if possible. E.g. Using the kubectl CLI command form of `kubectl --context port-forward -n...

kind/bug
lifecycle/stale

**What is the feature and why do you need it**: kubeconfig support the cluster option [proxy-url](https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/#Cluster). I think it would be useful if function like `load_kube_config` would use that to...

kind/feature
lifecycle/rotten

#### What type of PR is this? /kind bug #### What this PR does / why we need it: This PR fixes an OverflowError caused by the readline_channel method in...

kind/bug
cncf-cla: yes
size/M
release-note
lifecycle/rotten

It would be great of the python client to add inline type hints, so that e.g. mypy can detect issues

kind/feature
help wanted

See also https://github.com/kubernetes-client/python/issues/340#issuecomment-526249075 (was closed for inactivity, NOT resolved) See also #63 **Motivation** It is sometimes useful to be able to load Python objects from JSON, for example to read...

kind/feature

**What happened (please include outputs or screenshots)**: After scaling down a deployment to 0 replicas using **patch_namespaced_deployment_scale**, the resulting V1ScaleSpec replicas is None instead of 0. e.g. With this piece...

kind/bug
lifecycle/stale

This is a dupe of https://github.com/kubernetes-client/python/issues/1486 which was closed but which was never tackled. Feel free to re-open that one and close this one **What is the feature and why...

kind/feature
lifecycle/stale

**What happened (please include outputs or screenshots)**: I did a lot of searching on-line, and I couldn't find a trivial way to obtain a list of pods belonging to a...

kind/bug
lifecycle/stale