Equivalent of 'kubectl cluster-info' in kubernetes python client?

Viewed 388

Is there any equivalent kubernetes python client function for

kubectl cluster-info

which output

Kubernetes master is running at https://192.x.x.x:8443
KubeDNS is running at https://192.x.x.x:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
0 Answers
Related