Config Updates Without Redeployment for Spring and Kubernetes
Spring PropertySources and Kubernetes Configmaps
Here’s what you’ll accomplish by the end of this article:
Create a small Spring Boot application that loads a property file from a configurable location overriding configuration that is packaged with the application. Package the application in a docker image and see how to override the config file via docker commands. Deploy the application to kubernetes. Use a Kubernetes Configmap to update your configuration without redeployment of your application. Learn about when using these methods together is recommended.
[Read More]