配置kubectl在Mac(本地)远程连接Kubernetes集群

https://www.cnblogs.com/wubolive/p/11225486.html

如果出现Unable to connect to the server: x509: certificate is valid for 10.43.0.1, 127.0.0.1, 192.168.13.215, not 172.16.12.237

则执行下面命令跳过证书验证

kubectl get po  --insecure-skip-tls-verify

posted @ 2021-10-27 15:10  肥嘟嘟肉呼呼  阅读(258)  评论(0)    收藏  举报