Commit f3a7349e authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

dumper using apply, and plain pod by default

parent 6305f3b3
......@@ -385,18 +385,20 @@ echo "# create cron job updating info on services"
if [ -n updateDeploy ]; then
targetF=service-dumper.yaml
cat > "$targetF" <<EOF
apiVersion: batch/v1beta1
kind: CronJob
apiVersion: v1
kind: Pod
#apiVersion: batch/v1beta1
#kind: CronJob
metadata:
name: service-dumper
labels:
app: nomad-container-manager-dumper
spec:
schedule: "*/15 * * * *"
jobTemplate:
spec:
template:
spec:
# schedule: "*/15 * * * *"
# jobTemplate:
# spec:
# template:
# spec:
imagePullSecrets:
- name: garching-kube
restartPolicy: OnFailure
......@@ -455,7 +457,7 @@ EOF
EOF
fi
fi
echo " kubectl create -f $targetF"
echo " kubectl apply -f $targetF"
for imageType in beaker jupyter creedo remotevis ; do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment