Scenarios · Kubernetes · S3.x3 · 8 min · L1

Where did these variables come from?

Nobody set CACHE_SERVICE_HOST. It is right there in the environment anyway.

✓ Validated on v1.37.2 · Run 1 · 2026-11-19Preview

The story

You open a shell in a Pod and find CACHE_SERVICE_HOST and CACHE_PORT in its environment. Nobody wrote them. The kubelet adds variables for every Service that exists when a container starts. It is an old feature with a catch. You start two Pods, one before the Service and one after, and compare.

🔒 Free account

Sign up free to play this scenario

A free account unlocks every scenario, journey and exam, and saves your progress. No payment, ever.