Created
January 26, 2021 02:25
-
-
Save voraviz/e26395c1d0eedba51e6c48f5630b472e to your computer and use it in GitHub Desktop.
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
#Pause Rollout | |
oc rollout pause deployment backend-v1 -n data-plane | |
#Set Readiness Probe | |
oc set probe deployment backend-v1 --readiness --get-url=http://:8080/health/ready --failure-threshold=1 --initial-delay-seconds=5 --period-seconds=5 -n data-plane | |
#Set Liveness Probe | |
oc set probe deployment backend-v1 --liveness --get-url=http://:8080/health/live --failure-threshold=1 --initial-delay-seconds=5 --period-seconds=5 -n data-plane | |
#Resume Rollout | |
oc rollout resume deployment backend-v1 -n data-plane |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment