diff --git a/charts/podinfo/README.md b/charts/podinfo/README.md index 875daf3ef..bde00af8a 100644 --- a/charts/podinfo/README.md +++ b/charts/podinfo/README.md @@ -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: diff --git a/charts/podinfo/templates/deployment.yaml b/charts/podinfo/templates/deployment.yaml index 177b0573c..b72674588 100644 --- a/charts/podinfo/templates/deployment.yaml +++ b/charts/podinfo/templates/deployment.yaml @@ -214,6 +214,9 @@ spec: {{- with .Values.tolerations }} tolerations: {{ toYaml . | indent 8 }} + {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . }} {{- end }} volumes: - name: data diff --git a/charts/podinfo/values.yaml b/charts/podinfo/values.yaml index 8c89b4bac..1fbfd197c 100644 --- a/charts/podinfo/values.yaml +++ b/charts/podinfo/values.yaml @@ -272,6 +272,8 @@ tolerations: [] affinity: {} +priorityClassName: "" + podAnnotations: {} # https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/