我成立Kubernetes群集上使用官方kubernetes GitHub的分支this tutorial使用kopsAWS。Kubernetes集群X509:荣誉证书问题
集群建立成功的AWS,但是当我尝试运行
kubectl get nodes
或
kops validate cluster
它说
[[email protected] ~]$ kubectl cluster-info
Unable to connect to the server: x509: certificate is valid for *.secure.hosting prod.com, not api.subdomain.mydomain.com
这肯定是问题,我X509证书。只需要轻轻推动正确的方向。感谢您宝贵的时间和帮助!
NOTE: I am running these commands from outside the cluster from a machine from where I did set up of cluster.
您正在使用哪种操作系统?至少CENTOS有关于证书的安装依赖关系。 –
这是亚马逊艾米 –