Skip to content
Snippets Groups Projects
Commit 14dbbad9 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fix service dumper

parent 0c00408f
No related branches found
No related tags found
No related merge requests found
...@@ -385,16 +385,15 @@ cat > "$targetF" <<EOF ...@@ -385,16 +385,15 @@ cat > "$targetF" <<EOF
apiVersion: batch/v1beta1 apiVersion: batch/v1beta1
kind: CronJob kind: CronJob
metadata: metadata:
name: hello name: service-dumper
labels:
app: nomad-container-manager-dumper
spec: spec:
schedule: "*/15 * * * *" schedule: "*/15 * * * *"
jobTemplate: jobTemplate:
spec: spec:
template: template:
spec: spec:
metadata:
labels:
app: nomad-container-manager-dumper
imagePullSecrets: imagePullSecrets:
- name: garching-kube - name: garching-kube
restartPolicy: OnFailure restartPolicy: OnFailure
...@@ -449,7 +448,7 @@ EOF ...@@ -449,7 +448,7 @@ EOF
cat >> $targetF <<EOF cat >> $targetF <<EOF
- name: app-source - name: app-source
hostPath: hostPath:
path: "$nomadRoot/servers/$target_hostname/analytics/$imageType" path: "$nomadRoot/servers/$target_hostname/analytics/service-dumper"
EOF EOF
fi fi
fi fi
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment