Question
How to fix this issue? bash-5.2$ 400de111-b8d7-4ae9-b3de-07fdae95-1> for i in kubectl get pod | grep rack0-sts | awk '{print$1}'; do echo $i; kubectl exec $i
How to fix this issue? bash-5.2$ 400de111-b8d7-4ae9-b3de-07fdae95-1> for i in kubectl get pod | grep rack0-sts | awk '{print$1}'; do echo $i; kubectl exec $i nodetool drain; kubectl delete po $i; done
caas-cluster-dc-1-rack0-sts-0 kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead. Defaulted container "cassandra" out of: cassandra, server-system-logger, nginx, server-config-init (init), net-init (init) OCI runtime exec failed: exec failed: unable to start container process: exec: "": executable file not found in $PATH: unknown command terminated with exit code 126
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started