~Trying to debug an etcd problem. I see lots of re...
# general
n
Trying to debug an etcd problem. I see lots of references to people doing a kubectl exec into the etcd pods to run
etcdctl
. But when I try to do the same, it complains that
sh
is not recognized.
Copy code
OCI runtime exec failed: exec failed: unable to start container process: exec: "sh": executable file not found in $PATH: unknown
For example, I'm referencing the troubleshooting steps in this issue: https://github.com/rancher/rke2/issues/3600 Have the etcd pods changed? How do I solve this? Edit: I was able to solve this by running etcdctl as the exec entrypoint instead of sh