我成立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有關於證書的安裝依賴關係。 –
這是亞馬遜艾米 –