Menu
Coddy logo textTech

Recap - Config Master

Part of the Introduction to Kubernetes section of Coddy's Terminal journey. Lesson 29 of 45.

challenge icon

Challenge

Medium

Wire configuration into a Pod. Run these steps one after the other:

  1. Create a ConfigMap named settings with LEVEL set to debug
  2. Create a generic Secret named api-key with key set to abc123
  3. Open pod.yaml from the file tree and give the container an env list with LEVEL from the ConfigMap and API_KEY from the Secret's key, then save it
  4. Apply the manifest
  5. Run env inside the worker Pod

Try it yourself

Terminal

All lessons in Introduction to Kubernetes

Practice on your own: Terminal playground