I have a ConfigMap which stores Nginx configs and It is getting size exceeded
. There are many site configs in there so I can't create multiple ConfigMaps.
I thought of using S3 to store ConfigMap, is it an option? If it is, how can one achieve it.
ConfigMaps in Kubernetes are limited to 1Mib. If your file could not be split or shrunk, I feel you should use a volume to store it using the storage class that your cloud vendor/subsystem offers you.
S3 is a good object store, but you can't store ConfigMaps in it. You can't use it either to store volumes. You could use EBS and EFS (since we are talking about AWS products) based on access pattern that you want to achieve for this filesystem.