0

I have a script that creates openshift objects on start of a pod and on termination. I've created an initcontainer that runs the start script. However I can't find a way to run the termination script on pod termination. How can I do that?

  • Fundamentally this is not possible, except for the case of graceful termination trigerred through the openshift api. In this case you can use a prestop hook. – LLlAMnYP Jul 22 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.