mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-05-16 14:36:33 +00:00
Merge pull request #475 from tiesmaster/472/wire-up-priorityClassName
chart: Add support for setting the priorityClassName
This commit is contained in:
@@ -130,6 +130,7 @@ The following tables lists the configurable parameters of the podinfo chart and
|
||||
| `nodeSelector` | `{}` | Node labels for pod assignment |
|
||||
| `tolerations` | `[]` | List of node taints to tolerate |
|
||||
| `affinity` | `None` | Node/pod affinities |
|
||||
| `priorityClassName` | `""` | Pod priority class name |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument:
|
||||
|
||||
|
||||
@@ -214,6 +214,9 @@ spec:
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.priorityClassName }}
|
||||
priorityClassName: {{ . }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: data
|
||||
|
||||
@@ -272,6 +272,8 @@ tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
priorityClassName: ""
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
# https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||
|
||||
Reference in New Issue
Block a user