Shell Gym

Kubernetes Gym: ConfigMaps, Secrets and Downward API

Fast, repeatable kubectl exercises for environment variables, ConfigMaps, Secrets, and the Downward API.

Kubernetes Gym: ConfigMaps, Secrets and Downward API Shell Gym (cover image)
Overview

This gym trains passing configuration to Pods. The units start with plain environment variables in the Pod spec, then pass ConfigMaps and Secrets to Pods side by side, first as environment variables and then as files. They write both as manifests, and end with the Pod's own fields through the Downward API.

Learning path
6 modules · 26 units
How a Shell Gym works

Practice in a real terminal

Use a regular shell on a real Linux VM. Each rep is marked complete automatically when you reach the goal.

One skill at a time

Each module focuses on one command or concept, with short exercises to help you get comfortable using it.

Repeat until it sticks

Revisit the gym after 1, 3, 7, 14, 30 days to build command-line habits and remember what you've learned.

Part of your Daily Practice

The gym appears in Daily Practice when it's time to repeat it. Pause when you need a break, or mark it complete when you're comfortable with the skill.

See your progress

Review past sessions to see how long you practiced and how many reps you completed.

Help when you get stuck

Use hints and feedback based on what's happening on your VM to work out the next step without being given the answer.

Learn more about Shell Gyms
Train