You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where did you load config (or set configs) in your python client? You did not share that part of the code. Best practice is to add the config to ~/.kube/config file (test it with kubectl and make sure it works) and then use config.load_kube_config() method to load it from there.
Once I setup the kubernetes cluster with kubeadm init, I can access the API using the CA cert generated by kubeadm with no problem at all:
However, when doing so with the python client I get an SSL error
The above won't work with python nor python3, and I've already run requirements.txt and setup.py with no luck.
The same script does work if I setup the API without TLS, by setting up kubectl proxy --port=8080.
I've tried adding the certificate to the ubuntu ca-certificate path but it didn't work.
Thanks in advance.
The text was updated successfully, but these errors were encountered: