Yu Liao

Results 143 comments of Yu Liao

The example below given at the page https://github.com/kubernetes-client/python works well. Hence, the issue is at the line: conf = config.kube_config.new_client_from_config(context="cbaenzig@mycluster") from kubernetes import client, config config.load_kube_config() v1 = client.CoreV1Api() print("Listing...

i think @roycaihw was asking if you could add a new unittest case for this

ok, i'm ok with merging the PR if you tested it locally, and it worked fine.

we have released beta for 1.31.0, https://github.com/kubernetes-client/python/releases

timeout should be a float, not a tuple as the error suggests Exception when calling CoreV1Api->connect_get_namespaced_pod_exec: (0) Reason: '

I see. please checkout https://github.com/kubernetes-client/python/blob/master/examples/watch/timeout-settings.md

https://github.com/kubernetes-client/python/blob/e10470291526c82f12a0a3405910ccc3f3cdeb26/kubernetes/base/stream/ws_client.py#L225 I think the error was caused by the above line, where timeout was only allowed to be a float, not a tuple.

please sign cla

sure, i'll take a look in the next couple of days.