Created
July 23, 2019 16:21
-
-
Save uthark/caf919ee2d37a7d3e9536974de326136 to your computer and use it in GitHub Desktop.
Lifecycle hook CNI Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lifecycle: | |
preStop: # taint node before stop. | |
exec: | |
command: | |
- /bin/sh | |
- -c | |
- /usr/bin/lifecycle_hook.sh preStop | |
postStart: # untaint node after start. | |
exec: | |
command: | |
- /bin/sh | |
- -c | |
- /usr/bin/lifecycle_hook.sh postStart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment