QuestionQ202

VerifiedKubernetes Fundamentals

How can you execute a command in a running container within a Pod?

Explanation

kubectl exec runs a command in a container that is already running in a Kubernetes Pod. The -- separates the Pod and kubectl options from the command to execute.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!