Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 730 Bytes

ConfigMap.md

File metadata and controls

13 lines (7 loc) · 730 Bytes

#k8s

ConfigMap data can be consumed in Pod broadly either as an environment variable or by mounting them as files in a container.

In Kubernetes, ConfigMaps and [[Secret]]s are two objects using which configuration data can be passed to [[Pod]]s and containers running within them.

It stores the data as key-value pairs, where value can be a string or entire content of a file.

kubectl create configmap

Kubernetes do not put any hard limits on ConfigMap size, though it stores configMaps in [[etcd]]. Etcd has hard limit to store value up to 1MB