Close

Kubernetes

Openshift / Kubernetes POD hooks

Sometimes it is necessary to execute a command while the pod is started or stopped. In this case you can use POD hooks. Kubernetes: http://kubernetes.io/docs/user-guide/container-environment/#container-hooks Openshift: https://docs.openshift.com/enterprise/3.1/dev_guide/deployments.html#lifecycle-hooks https://docs.openshift.org/latest/dev_guide/deployments.html#lifecycle-hooks In the following image you can see the hook workflow.                

Read More