v1 · Namespaced Resource


ConfigMap holds configuration data for pods to consume.

Looking for some examples?

There are 2 examples of ConfigMap that you can use as a starting point to create your own.

kind: ConfigMap
apiVersion: v1
  name: example-configmap
  namespace: payments # ConfigMap is namespaced resource
  database_max_conn: 20
  log_level: DEBUG

  notes.txt: |
    config maps can be mounted as files too

Tired of using Kubectl? 😓

Experience hassle-free Kubernetes management with a powerful GUI.

Screenshot of Aptakube showing a list of pods from 2 clusters in a single view