How do you push the files to all of your containers? I’ve done this in the past with app specific endpoints but never found a solution I liked with containers.
We currently persist the feature flag config in a database where the containers pull it from. Not the optimal solution but that was a natural evolution from a system we already had in place.
Ah that’s a super nice feature. I’m mostly familiar with AWS who don’t have a neat way of doing this, you end up with a bespoke solution either with lambdas pushing to shared volumes or just polling s3 for updates.
If you are using kubernetes, you can mount the secret/ConfigMap as a volume and it will be updated automatically when changes occur. Then your application merely watches the file for updates.
AWS has a native service for this called AppConfig and has agents that can pull and cache flag values so your services only need to make localhost requests.