Wednesday, December 12, 2018
kubectl x509: certificate signed by unknown authority
kubectl issues
$ kubectl run hello-app --image gcr.io/hellow-app/hello-ap:v1 --port 8080
error: failed to discover supported resources: Get https://35.227.95.71/apis/extensions/v1beta1: x509: certificate signed by unknown authority
rather than --insecure-skip-tls-verify=true,
then recreate the cluster config:
gcloud container clusters get-credentials hello-app-cluster --zone us-east1-b --project yourgcpproject
$ kubectl run hello-app --image gcr.io/hellow-app/hello-ap:v1 --port 8080
error: failed to discover supported resources: Get https://35.227.95.71/apis/extensions/v1beta1: x509: certificate signed by unknown authority
rather than --insecure-skip-tls-verify=true,
then recreate the cluster config:
gcloud container clusters get-credentials hello-app-cluster --zone us-east1-b --project yourgcpproject
Subscribe to:
Comments (Atom)