Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 2 Lncs 13427

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124251, 978-3031124259

More Books

Students also viewed these Databases questions