Skip to content

Commit

Permalink
feat: add default dedicated clickhouse toleration to pods (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianaya89 authored Nov 8, 2024
1 parent 7d45a4d commit f6d2c59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/clickhouse-eks/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: clickhouse-eks
description: A Helm chart for ClickHouse running on AWS EKS across AZs using a nodeSelector to pin resources to run on specific VMs types
type: application
version: 0.1.4
version: 0.1.5
appVersion: "1.16.0"
5 changes: 5 additions & 0 deletions charts/clickhouse-eks/templates/chi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ spec:
image: {{ $.Values.clickhouse.image }}
nodeSelector:
node.kubernetes.io/instance-type: {{ $.Values.clickhouse.node_selector }}
tolerations:
- key: "dedicated"
operator: "EQUAL"
value: "clickhouse"
effect: "NO_SCHEDULE"
{{- end }}
volumeClaimTemplates:
- name: storage
Expand Down

0 comments on commit f6d2c59

Please sign in to comment.