"msg":"starting an etcd server","etcd-version":"3.5.4","git-sha":"08407ff76","go-version":"go1.16.15","go-os":"linux","go-arch":"amd64","max-cpu-set":4,"max-cpu-available":4,"member-initialized":true,"name":"vms100.liruilongs.github.io","data-dir":"/var/lib/etcd...
"msg":"Running: ","args":["etcd","--advertise-client-urls=https://192.168.26.100:2379","--cert-file=/etc/kubernetes/pki/etcd/server.crt","--client-cert-auth=true","--data-dir=/var/lib/etcd","--experimental-initial-corrupt-check=true","--experimental-watch-progress-notify-interval...
-- Unit etcd.service has failed. -- -- The result is failed. Mar 24 22:24:33 docker03 systemd[1]: Unit etcd.service entered failed state. Mar 24 22:24:33 docker03 systemd[1]: etcd.service failed. 并没有成功启动服务,可以看到提示信息:member c2c5804bd87e2884 has already been bootstra...
–name=ETCDNAME−−data−dir=ETCDNAME−−data−dir={ETCD_DATA_DIR} –listen-peer-urls=ETCDLISTENPEERURLS−−listen−client−urls=ETCDLISTENPEERURLS−−listen−client−urls={ETCD_LISTEN_CLIENT_URLS},http://127.0.0.1:2379 –advertise-client-urls=ETCDADVERTISE...
问题出在这里:DiscoveryFailed:Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request 难道APIServer出问题了?于是继续排查。
1 run.go:74] "command failed" err="context deadline exceeded"kube-apiserver需要和etcd不断的交互...
在etcd中删除etcdctl del /registry/namespaces/rook-ceph另外1、kubectl get ns ingress-nginx -o json > tmp.json2、删除spec中的Finalizers字段3、通过api-server 的restful删除curl -k -H "Content-Type: application/json" -X PUT --data-binary @tmp.json http://127.0.0.1:8080/api/v1/namespaces/...
2379' discovery: discovery-fallback: 'proxy' discovery-proxy: discovery-srv: initial-cluster: 'k8s-master01=https://192.168.0.31:2380,k8s-master02=https://192.168.0.32:2380,k8s-master03=https://192.168.0.33:2380' initial-cluster-token: 'etcd-k8s-cluster' initial-cluster-state: 'new' strict...
节点后就会更新etcd数据,将pod分配到指定的node Initialized #所有pod中的初始化容器已经完成了 ImagePullBackOff: #Pod所在的node节点下载镜像失败 Running #Pod内部的容器已经被创建并且启动 Ready #表示pod中的容器已经可以提供访问服务 complete # 容器已创建完成 ...
我们有时候会有删除master节点,再重新加入master节点的需求,比如master机器改名。这里注意重新加入时,经常会出现etcd报错,如下 [check-etcd] Checking that the etcd cluster is healthy error execution phase check-etcd: etcd cluster is not healthy: failed to dial endpoint https://192.168.0.92:2379 with maint...