Re:Ask HN: How to get practical experience in developing sca...
by atmosx on Monday March 11, 2019 @01:53PM
(#19361097)
Here: https://12factor.net/ - Some considerations which will not be found in the 12FA:
- If you wanna change configuration on the fly, in parallel, your app should support something like Prometheus reload: SIGHUP or http://<ip>/-/reload - rolling updates might be time consuming (you need to separate between boot config and dynamic config)
- Add feature flags to your app.
- Use proper secrets management from day one. Something like Vault or Credstash could go a long way.
- Perform migrations to the CD system, don't use init containers
... these are the ones I can think off the top of my head now, but there are more.
- If you wanna change configuration on the fly, in parallel, your app should support something like Prometheus reload: SIGHUP or http://<ip>/-/reload - rolling updates might be time consuming (you need to separate between boot config and dynamic config)
- Add feature flags to your app.
- Use proper secrets management from day one. Something like Vault or Credstash could go a long way.
- Perform migrations to the CD system, don't use init containers
... these are the ones I can think off the top of my head now, but there are more.