Skip to content

Commit

Permalink
Include timestamp in the pre-puller job
Browse files Browse the repository at this point in the history
This makes it much easier to recover from partially failed pre-puller
jobs, which can happen for a variety of reasons
  • Loading branch information
yuvipanda committed May 15, 2017
1 parent 9215918 commit 0d4f920
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion jupyterhub/templates/pre-puller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: batch/v1
kind: Job
metadata:
name: pull-all-nodes-{{.Release.Name}}-{{.Release.Revision}}
name: pull-all-nodes-{{ .Release.Time.Seconds }}-{{.Release.Name}}-{{.Release.Revision}}
{{ if .Values.name }}namespace: {{ .Values.name }} {{ end }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
Expand Down

0 comments on commit 0d4f920

Please sign in to comment.