A

Admin • 833.24K Points
Coach

Q. What happens when you run `kubectl scale deployment myapp --replicas=0`?

  • (A) Deletes the deployment
  • (B) Pauses the deployment
  • (C) Stops all pods of the deployment
  • (D) Removes all services
  • Correct Answer - Option(C)
  • Views: 39
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin

Scaling to zero stops all pods under the specified deployment.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.