Skip to content

Commit

Permalink
feat: add priorityClassName to clickhouse (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimxogus authored Dec 21, 2023
1 parent 27750a1 commit 386e7b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clickhouse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ keywords:
name: clickhouse
sources:
- https://github.com/sentry-kubernetes/charts
version: 3.6.1
version: 3.7.0
maintainers:
- name: sentry-kubernetes
3 changes: 3 additions & 0 deletions clickhouse/templates/statefulset-clickhouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
{{- end }}
{{- end }}
spec:
{{- with .Values.clickhouse.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- with .Values.clickhouse.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions clickhouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ clickhouse:
imageVersion: "19.14"
imagePullPolicy: "IfNotPresent"

priorityClassName: ~

## The resource limits and requests used by clickhouse
resources: {}

Expand Down

0 comments on commit 386e7b7

Please sign in to comment.