Last updated 17 days ago

Config Maps

The ConfigMap API resource holds key-value pairs of configuration data that can be consumed in pods or used to store configuration data for system components such as controllers.

For more information about Config Maps checkout the Kubernetes User Guide.

In this Tutorial you'll learn how to create a Config Map

Config Map Sample

Deploy kubernetic/configmap-sample Chart.

Here is the Config Map definition:

apiVersion: v1
kind: ConfigMap
name: {{ .Release.Name }}
key-a: bob
key-b: alice
key-c: |
This is a multiline
data value

Now go to the Config Maps section. You'll see the configmap-sample Config Map.

Pod Management > Config


Go to the Releases section and delete the release of the configmap-sample Chart.