k8s笔记:MountVolume.SetUp failed for volume “secret-kube-etcd-client-certs“
MountVolume.SetUp failed for volume "secret-kube-etcd-client-certs" : secret "kube-etcd-client-certs" not found
·
kubesphere 安装 prometheus-k8s 报以下错误:
MountVolume.SetUp failed for volume "secret-kube-etcd-client-certs" : secret "kube-etcd-client-certs" not found
原因是:kube-etcd-client-certs 这个证书没有找到。
解决方法:
kubectl -n kubesphere-monitoring-system create secret generic kube-etcd-client-certs \
--from-file=etcd-client-ca.crt=/etc/kubernetes/pki/etcd/ca.crt \
--from-file=etcd-client.crt=/etc/kubernetes/pki/etcd/healthcheck-client.crt \
--from-file=etcd-client.key=/etc/kubernetes/pki/etcd/healthcheck-client.key
更多推荐
已为社区贡献1条内容
所有评论(0)