mirror of https://github.com/codevalet/codevalet
Add another label `kind` for running kubernetes queries across all masters
This commit is contained in:
parent
4b822e607f
commit
2f5ed696bd
|
@ -76,8 +76,9 @@ items:
|
|||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: 'jenkins'
|
||||
app: 'jenkins-@@USER@@'
|
||||
owner: '@@USER@@'
|
||||
kind: 'master'
|
||||
annotations:
|
||||
spec:
|
||||
securityContext:
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/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
|
||||
for pod in $(kubectl get pods --all-namespaces -o name -l kind=master); do
|
||||
echo $pod;
|
||||
done;
|
||||
|
|
Loading…
Reference in New Issue