kubectl - error x509 certificate signed by unknown authority kubectl - error x509 certificate signed by unknown authority kubernetes kubernetes

kubectl - error x509 certificate signed by unknown authority


The error you are getting "Unable to connect to the server: x509: certificate signed by unknown authority" . It seems like you have copied only the ~/.kube/(config) file .see the content of ~/.kube/(config) file and if that file entries of a CA root certificate , Client certificate and key entries then you need to copy all those three files also to your machine.