A

Admin • 833.24K Points
Coach

Q. What does `kubectl apply -f` do?

  • (A) Deletes a resource
  • (B) Rolls out a deployment
  • (C) Creates or updates a resource using a config file
  • (D) Scales a pod
  • Correct Answer - Option(C)
  • Views: 36
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin

`kubectl apply -f <file>` is used to create or update resources defined in the file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.