Study. uk . com
  1. Home
  2. All questions
  3. Question 94

CKA study material · question 94 of 1000

A Pod cannot reference a ConfigMap held in another namespace. Which approach still reaches it?

  1. Adding it to the Pod's envFrom list
  2. Reading it through the Kubernetes API from code in the Pod
  3. Mounting it as a projected volume
  4. Referencing it with a fully qualified name
Show the answer

Answer: B. Reading it through the Kubernetes API from code in the Pod

Only code calling the API directly can read a ConfigMap in another namespace or subscribe to its changes.

Source: ConfigMaps (Kubernetes) — ConfigMaps and Pods

Challenge yourself on this topic → Study as cards