Skip to content

Commit

Permalink
Add priorityClass support
Browse files Browse the repository at this point in the history
  • Loading branch information
stg-0 committed Nov 22, 2021
1 parent 3fcc64a commit 6036a69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/k8s-gateway/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName -}}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/k8s-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ nodeSelector: {}
affinity: {}

replicaCount: 1

# Optional PriorityClass that will be used in the Deployment, e.g. priorityClassName: "system-cluster-critical"
priorityClassName: ""

0 comments on commit 6036a69

Please sign in to comment.