Kubernetes: the basics

Lesson 04 · 11 min

Configuration: ConfigMap and Secret

One image for every environment, settings kept apart. And why base64 is not encryption.

11 minLesson 4 of 5Practice includedAsk AI on any point

The same image has to run in dev, staging and production. Only the settings differ: the database address, the log level, API keys. Kubernetes keeps them apart from the image in two objects: a ConfigMap for regular settings and a Secret for sensitive ones.

Sign in to continue

The rest of this lesson opens after sign up

The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.