You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a question.
We are using Spring Config Server today, We have multiple apps, environments etc. Configs for which are activated using spring application name and spring profile active arguments.
What is the best approach that we can take to have the same flexibility over Kubernetes.
Config Map is definitely an option, but if we use fabric8 maven plugin to deploy our apps into a Kubernetes cluster, and we need different configs for different environment, how do we inject configs per environment based on spring profiles.
Any POC or a github repository would be useful.
Thanks in advance.
Cheers !!
The text was updated successfully, but these errors were encountered:
We did the same thing. We started with spring cloud later moved on to kubernetes.
Kubernetes is way more clean way of maintaining configuration for different environments . Developer need not worry about where the application runs. There are many ways of using config maps (environment variable, as file). We have used it as a file.
@nkravi Thanks for your response.
Can you share some information on how do you manage and deploy your Pods with different config maps per environment using the same image. If there is a POC repository would be really helpful.
Also what are the ways you have implemented to refresh the configs in the application.
Thanks in advance.
This is just a question.
We are using Spring Config Server today, We have multiple apps, environments etc. Configs for which are activated using spring application name and spring profile active arguments.
What is the best approach that we can take to have the same flexibility over Kubernetes.
Config Map is definitely an option, but if we use fabric8 maven plugin to deploy our apps into a Kubernetes cluster, and we need different configs for different environment, how do we inject configs per environment based on spring profiles.
Any POC or a github repository would be useful.
Thanks in advance.
Cheers !!
The text was updated successfully, but these errors were encountered: