Use S3 To Store ConfigMap



  • 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 https://kubernetes.io/docs/concepts/configuration/configmap/#:%7E:text=The%20data%20stored%20in%20a,separate%20database%20or%20file%20service. . 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.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2