[Sol] … specifying a root certificates file with the insecure flag is not allowed …
问题描述
执行 kubectl 命令,产生 Error: Kubernetes cluster unreachable: specifying a root certificates file with the insecure flag is not allowed 错误。
原因分析
解决方案
删除 clusters[].cluster.certificate-authority-data 数据,或者不要使用 clusters[].cluster.insecure-skip-tls-verify: true 选项;