patternkubernetesMinor
Use S3 To Store ConfigMap
Viewed 0 times
usestoreconfigmap
Problem
I have a ConfigMap which stores Nginx configs and It is getting
I thought of using S3 to store ConfigMap, is it an option? If it is, how can one achieve it.
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.
Solution
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.
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.
Context
StackExchange DevOps Q#15782, answer score: 3
Revisions (0)
No revisions yet.