-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restart on every update #71
Comments
Because otherwise postfix won't get reloaded if any configs are changed. I do expect many more issues with people changing the config and not seeing it applied than knowing that they need to do a One option would be to send a |
Could there be a value that would disable this restart once you know your configuration is stable? |
Sure, there could be an option May I ask what the use case it, as usually people don't need to redeploy the chart very often? |
This chart is used as a dependency in a umbrella chart so each time our application is upgraded its mail relay is restarted and is unavailable for a few seconds. Now that the mail relay configuration is done, it would be great to keep it running when our application is upgraded. |
I will look into it but running at least two instances should resolve your issue -- kubernetes will do a rolling deployment and your mail relay will have 100% uptime. |
As proposed, I currently deploy using 2 replicas; rolling deployments make sure at least one pod is running. I see you added Thanks! |
Tested and works as expected. |
Is there a reason why the pods are re-created on every
helm update
?I know that the date in
date/deploy-date
is the reason why k8s re-creates the pods, but why did you choose to ask for a new pod on each update?The text was updated successfully, but these errors were encountered: