我按照本指南https://coreos.com/kubernetes/docs/latest/kubernetes-on-aws-launch.html在 AWS 上使用kube-aws
.
我kube-aws
习惯于v0.9.4-rc2
成功后kube-aws up --s3-uri s3://..
,我尝试使用 获取节点kubectl get nodes
,这就是我收到此错误的时候:
:; kubectl get nodes
Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kube-ca")
在该kubeconfig
文件中,有一行描述了证书颁发机构:
apiVersion: v1
kind: Config
clusters:
- cluster:
certificate-authority: credentials/ca.pem
有谁知道我可能出了什么问题?我怎样才能进一步调试它?