Add a couple scripts for rolling updates through the kubernetes cluster
This commit is contained in:
parent
831c9e9915
commit
1622dcf857
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
REPO_DIR=$(realpath $(dirname $0)/../)
|
||||
|
||||
for monkey in $(cat $REPO_DIR/monkeys.txt); do
|
||||
kubectl rolling-update jenkins-${monkey} --image=rtyler/codevalet-master:latest --image-pull-policy=Always --update-period=10s
|
||||
done;
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec kubectl rolling-update webapp --image=rtyler/codevalet-webapp:latest --image-pull-policy=Always --update-period=10s
|
Loading…
Reference in New Issue