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.
2.1m questions
2.1m answers
60 comments
57.0k users