Skip to content

Commit 3d4a0d9

Browse files
authored
Merge pull request #109 from nrwl/add-configurable-daemonset-tolerations
Allow Configurable Daemonset Tolerations
2 parents d5b248f + 9f8f750 commit 3d4a0d9

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

charts/nx-agents/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: nx-agents
33
description: Nx Cloud Agents Helm Chart
44
type: application
5-
version: 1.1.0
5+
version: 1.2.0
66
maintainers:
77
- name: nx
88
url: "https://nx.app/"

charts/nx-agents/ci/basic-values.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ controller:
1515
deployment:
1616
port: 9000
1717
annotations: {}
18-
env: {}
18+
env: []
1919
service:
2020
port: 9000
2121
type: ClusterIP
@@ -41,6 +41,13 @@ executor:
4141

4242
daemonset:
4343
enabled: true
44+
tolerations:
45+
- effect: NoSchedule
46+
key: kubernetes.io/arch
47+
value: arm64
48+
- effect: NoSchedule
49+
key: kubernetes.io/arch
50+
value: amd64
4451
image:
4552
registry: ''
4653
imageName: ubuntu

charts/nx-agents/templates/daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ spec:
1515
labels:
1616
name: nx-cloud-workflows-daemon
1717
spec:
18+
{{- with .Values.daemonset.tolerations }}
19+
tolerations:
20+
{{- toYaml . | nindent 8 }}
21+
{{- end }}
1822
containers:
1923
- name: nx-cloud-workflows-daemon
2024
image: {{ include "nxCloud.images.daemonset.image" . }}

charts/nx-agents/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ executor:
105105
# Additionally this feature can be retained, and you can update the provided script to run other things you would like on
106106
# each node in your cluster.
107107
daemonset:
108+
tolerations: []
108109
image:
109110
registry: ''
110111
imageName: ubuntu

0 commit comments

Comments
 (0)