kubectl unable to connect to server: x509: certificate signed by unknown authority

后端 未结 11 1488
北恋
北恋 2020-12-10 00:39

i\'m getting an error when running kubectl one one machine (windows)

the k8s cluster is running on CentOs 7 kubernetes cluster 1.7 master, worker

Here\'s my

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-10 01:29

    In case of the error you should export all the kubecfg which contains the certs. kops export kubecfg "your cluster-name and export KOPS_STATE_STORE=s3://"paste your S3 store" .

    Now you should be able to access and see the resources of your cluster.

提交回复
热议问题