v1 ยท Namespaced Resource

ConfigMap

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
metadata:
  name: example-configmap
  namespace: payments # ConfigMap is namespaced resource
data:
  database_max_conn: 20
  log_level: DEBUG

  notes.txt: |
    config maps can be mounted as files too
Tired of using Kubectl? ๐Ÿ˜“

Give Aptakube a go โ€” a modern, lightweight Kubernetes interface.

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