forked from jupyterhub/zero-to-jupyterhub-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
56 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{{/* | ||
{{- /* | ||
The hook-image-puller daemonset will be created with the highest priority during | ||
helm upgrades. It's task is to pull the required images on all nodes. When the | ||
image-awaiter job confirms the required images to be pulled, the daemonset is | ||
deleted. Only then will the actual helm upgrade start. | ||
*/}} | ||
{{- if .Values.prePuller.hook.enabled -}} | ||
{{- $_ := merge (dict "hook" true "componentPrefix" "hook-") . -}} | ||
{{ include "jupyterhub.imagePuller.daemonset" $_ }} | ||
{{- end -}} | ||
{{- if .Values.prePuller.hook.enabled }} | ||
{{- $_ := merge (dict "hook" true "componentPrefix" "hook-") . }} | ||
{{- include "jupyterhub.imagePuller.daemonset" $_ }} | ||
{{- end }} | ||
--- | ||
{{/* | ||
{{- /* | ||
The continuous-image-puller daemonset task is to pull required images to nodes | ||
that are added in between helm upgrades, for example by manually adding a node | ||
or by the cluster autoscaler. | ||
*/}} | ||
{{- if .Values.prePuller.continuous.enabled -}} | ||
{{- $_ := merge (dict "hook" false "componentPrefix" "continuous-") . -}} | ||
{{ include "jupyterhub.imagePuller.daemonset" $_ }} | ||
{{- end -}} | ||
{{- if .Values.prePuller.continuous.enabled }} | ||
{{- $_ := merge (dict "hook" false "componentPrefix" "continuous-") . }} | ||
{{- include "jupyterhub.imagePuller.daemonset" $_ }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters