What are the limits and performance implications of large ConfigMaps/Secrets?
AdvancedConceptConfiguration & Storage
Answer
Each is capped at 1 MiB by etcd's object size limits, and they replicate in memory on every node using them and in every kubelet watch. Thousands of watched ConfigMaps or Secrets stress the API server; immutable ones skip watches. Large blobs belong in object storage or an init-container download.
More on Configuration & Storage
What is a ConfigMap and how can a Pod consume it?BeginnerWhat is a Secret and is it secure by default?BeginnerWhat are the common Secret types?BeginnerWhat is a Volume and how does it differ from a container filesystem?BeginnerWhat is `emptyDir` and when is it used?BeginnerWhat are PersistentVolume (PV), PersistentVolumeClaim (PVC) and StorageClass?Beginner