🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

DevOps Intermediate

What is Kubernetes ConfigMap?

A Kubernetes object that stores non-sensitive configuration data as key-value pairs, injected into pods as environment variables or files.

ConfigMaps decouple configuration from container images, enabling the same image to run with different settings across environments (dev, staging, production). They store configuration as key-value pairs or entire configuration files. Pods consume ConfigMaps through environment variables, command-line arguments, or mounted volumes. Unlike Secrets (which store sensitive data with base64 encoding), ConfigMaps are for non-sensitive configuration like feature flags, database hostnames, and application settings. ConfigMaps can be updated without redeploying pods when mounted as volumes (with a brief propagation delay). They are namespace-scoped and can be managed declaratively through YAML manifests.

Related Terms

Grafana
An open-source analytics and visualization platform for creating dashboards from various data sources.
Docker
A platform for building, shipping, and running applications in lightweight, isolated containers.
Blue-Green Deployment
A deployment strategy using two identical environments where traffic is switched from the old version to the new one instantly.
YAML
A human-readable data serialization language commonly used for configuration files in DevOps tools and applications.
Immutable Deployment
A deployment strategy where new versions replace existing instances entirely rather than updating them in place.
Nginx
A high-performance web server and reverse proxy known for its stability, low resource usage, and ability to handle many concurrent connections.
View All DevOps Terms →