ConfigMaps have a size limit of 1MiB
.
- Options for ConfigMaps:
- If the ConfigMap size is smaller, you can reference the content without compression as
data
(in plaintext). - If the ConfigMap size is larger, you can reference a .zstd, .gzip or .zip compressed file in a Base64 string as
binaryData
.
Using the binaryData
option creates overhead and requires more resources due to the decoding and uncompression process. We recommend using compression only if the ConfigMap file size exceeds the limit.