A

Admin • 833.24K Points
Coach

Q. Which flag is used with `kubectl run` to expose a pod?

  • (A) --port
  • (B) --expose
  • (C) --type
  • (D) --listen
  • Correct Answer - Option(B)
  • Views: 29
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin

The `--expose` flag is used to create a service while running a pod with `kubectl run`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.