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.

1 Answer 1


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.

  • can we use EBS or EFS for config Map?
    – amit singh
    Apr 13 at 20:22
  • Nope, ConfigMap is a specific object that is stored in the KeyValue distributed datastore (es. Etcd) and so far we are not allowed to change where this object is stored.
    – Alberto P.
    May 2 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.