etcd health check failed: Failed toexeccommand: sudo -E /bin/bash -c"export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-k8s-master3.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-k8s-master3-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/...
API Server要访问ETCD集群来存取数据,这个过程需要使用https来完成通信,所以,API Server是ETCD集群的一个客户端,所以要为API Server签发一套Client证书。签发证书还是在 10.4.7.200 服务器上完成。 创建证书请求文件: [root@k8s7-200 certs]# cat client-csr.json { "CN": "k8s-master", "hosts": [ ], "k...
[certs] etcd/peer serving cert is signed for DNS names [localhost vm-16-6-centos] and IPs [172.16.16.6 127.0.0.1 ::1] [certs] Generating "etcd/healthcheck-client" certificate and key [certs] Generating "apiserver-etcd-client" certificate and key [certs] Generating "sa" key and public k...
注:以集群实际 etcd 证书位置创建;若 etcd 没有配置证书,则创建空secret $ 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-...
--cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key get foo ... 从这里我们就可以获得 etcd 集群相关的证书。 4.修改部署文件 由于 KubeSphere 部署过程中涉及到的组件非常多,所以安装过程中难免会有一些奇奇怪怪的问题,下面是我在安装过程中遇到...
-y, --yes Skip pre-check of the installation Global Flags: --debug Print detailed information (default true) Failed to start etcd cluster: Failed to start etcd cluster: Failed to exec command: sudo -E /bin/sh -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin...
Health check on exist etcd23:21:25CST skipped: [master1]23:21:25CST [ETCDConfigureModule] Generate etcd.envconfig on new etcd23:21:25CST success: [master1]23:21:25CST [ETCDConfigureModule] Refresh etcd.envconfig on all etcd23:21:26CST success: [master1]23:21:26CST [ETCDConfigureModul...
--cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key get foo ... 从这里我们就可以获得 etcd 集群相关的证书。 4.修改部署文件 由于 KubeSphere 部署过程中涉及到的组件非常多,所以安装过程中难免会有一些奇奇怪怪的问题,下面是我在安装过程中遇到...
注:以集群实际 etcd 证书位置创建;若 etcd 没有配置证书,则创建空 secret $ 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...
注:以集群实际 etcd 证书位置创建;若 etcd 没有配置证书,则创建空secret $ 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...