A

Admin • 833.24K Points
Coach

Q. Which Kubernetes resource defines environment variables for a container?

  • (A) ConfigMap
  • (B) Secret
  • (C) PodSpec
  • (D) Both ConfigMap and Secret
  • Correct Answer - Option(D)
  • Views: 34
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin

You can use either ConfigMap or Secret to define and inject environment variables into a container.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.