- Home
- All questions
- Question 211
CKA study material · question 211 of 1000
A Pod cannot find the environment variables for a Service that was created after it started. Why?
Show the answer
Answer: D. Service variables are injected only when the Pod starts
The kubelet injects Service variables at Pod start, so a later Service is missing from them; DNS has no such ordering problem.
Source: Service (Kubernetes) — Discovering services