When you edit a deployment to update the docker image, I need to run a one-time script which changes parts of my application database and sends an email that the rolling upgrade process is complete and the result is passed / failed.
Is there a hook where I can attach this script to?
No, there is no such thing in Kubernetes. Usually this should be done by CI/CD pipeline.
1.4m articles
1.4m replys
5 comments
57.0k users