Kubernetes Lifecycle Hooks
Implementing Kubernetes Lifecycle Hooks in DuploCloud
Implementing Kubernetes Lifecycle Hooks
#lifecycle hook sample
lifecycle:
postStart:
exec:
command:
- /bin/sh
- '-c'
- date > /container-started.txt
preStop:
exec:
command:
- /usr/sbin/nginx
- '-s'
- quitLast updated
Was this helpful?

