Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
container-manager
Commits
f3a7349e
Commit
f3a7349e
authored
Nov 07, 2018
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
dumper using apply, and plain pod by default
parent
6305f3b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy.sh
View file @
f3a7349e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment