A

Admin • 828.03K Points
Coach

Q. What does `kubectl exec` allow you to do?

  • (A) Delete a pod
  • (B) List services
  • (C) Run a command inside a running container
  • (D) View pod logs
  • Correct Answer - Option(C)
  • Views: 11
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin
`kubectl exec` lets you run commands inside a container, similar to SSH into it.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.