ConfigMaps and Secrets

Separate configuration from the image, deliver it as files and environment variables, and rotate it on a running Pod.

Skill labintermediate~30 minFree

What you'll do

  • ✓Store configuration outside the container image
  • ✓Mount a ConfigMap as a file and inject a Secret as an environment variable
  • ✓Know what a Secret does and does not protect
  • ✓Rotate configuration without rebuilding or restarting

Lab outline

  1. 01Separate config from image
  2. 02Deliver it to the workload
  3. 03Change it while it runs

Before you start

  • Deploy and Reach a Web Application (or equivalent)

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Kubernetes labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

ConfigMaps and Secrets — Kubernetes lab | Kube Labs