主节点执行如下命令即可
kubectl create ns kubesphere-monitoring-system
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/apiserver-etcd-client.crt \
–from-file=etcd-client.key=/etc/kubernetes/pki/apiserver-etcd-client.key