thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

ConfigMap

A Kubernetes object that stores non-confidential configuration data as key-value pairs for pods to consume.

Definition

ConfigMaps are consumed as environment variables, command arguments, or mounted files, decoupling configuration from images. Mounted ConfigMaps update in place; env vars require a pod restart.

Example

kubectl create configmap app-cfg --from-literal=LOG_LEVEL=debug

Exam tip

Use Secrets, not ConfigMaps, for sensitive values; env vars from ConfigMaps do not refresh automatically.

Related terms