Add option to define schedulerName
This commit is contained in:
@@ -376,6 +376,7 @@ Annotations can be added to the Gitea pod. | ||||
| extraVolumeMounts | Additional volumes mounts for the Gitea containers | {} | | ||||
| initPreScript | Bash script copied verbatim to start of init container | | | ||||
| securityContext | Run as a specific securityContext | {} | | ||||
| schedulerName | Use an alternate scheduler, e.g. "stork" | | | ||||
| ||||
### Image | ||||
| ||||
| ||||
@@ -28,6 +28,9 @@ spec: | ||||
{{- toYaml .Values.statefulset.labels | nindent 8 }} | ||||
{{- end }} | ||||
spec: | ||||
{{- if .Values.schedulerName }} | ||||
schedulerName: "{{ .Values.schedulerName }}" | ||||
{{- end }} | ||||
{{- with .Values.imagePullSecrets }} | ||||
imagePullSecrets: | ||||
{{- toYaml . | nindent 8 }} | ||||
| ||||
@@ -68,6 +68,11 @@ resources: {} | ||||
# cpu: 100m | ||||
# memory: 128Mi | ||||
| ||||
## Use an alternate scheduler, e.g. "stork". | ||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ | ||||
## | ||||
# schedulerName: | ||||
| ||||
nodeSelector: {} | ||||
| ||||
tolerations: [] | ||||
| ||||
Reference in New Issue
Block a user