Hey guys! I did setup for 3 masters and 5 worker n...
# kubernetes
b
Hey guys! I did setup for 3 masters and 5 worker nodes It was running well previously but now I am seeing a issue related to etcd not able to connect
Copy code
k3s[1510]: {"level":"warn","ts":"2023-06-26T04:33:34.490Z","logger":"etcd-client","caller":"v3@v3.5.3-k3s1/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"<etcd-endpoints://0xc000d8a000/127.0.0.1:2379>","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded"}
k3s[1510]: time="2023-06-26T04:33:34Z" level=error msg="Failed to check local etcd status for learner management: context deadline exceeded"
k3s[1510]: time="2023-06-26T04:33:34Z" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: <https://127.0.0.1:6443/v1-k3s/readyz>: 500 Internal Server Error"
Tried few solutions from online but nothing helped https://github.com/etcd-io/etcd/issues/12234 https://github.com/mmumshad/kubernetes-the-hard-way/blob/master/docs/07-bootstrapping-etcd.md#configure-the-etcd-server https://stackoverflow.com/questions/55571566/unable-to-bring-up-kubernetes-api-server Can anyone help or tell how to bring etcd service back?? when I try to manually run etcd it starts as expected but k3s service doesnt start because port 2379 is already in use Also port 2379 and 2380 are open on all nodes
203 Views