Skip to content

Commit 5d95a53

Browse files
authored
Merge pull request #226 from Luis-TT/add-nodeselector
.*: Only schedule on linux nodes
2 parents f53ad98 + 7970604 commit 5d95a53

22 files changed

+50
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ We use *breaking* word for marking changes that are not backward compatible (rel
1616
### Breaking Changes
1717

1818
### Changed
19+
- [226](https://github.com/thanos-io/kube-thanos/pull/226) Only schedule thanos components on linux nodes.
1920

2021
### Added
2122

examples/all/manifests/store-shard0-statefulSet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ spec:
148148
- mountPath: /var/thanos/store
149149
name: data
150150
readOnly: false
151+
nodeSelector:
152+
beta.kubernetes.io/os: linux
151153
securityContext:
152154
fsGroup: 65534
153155
runAsUser: 65534

examples/all/manifests/store-shard1-statefulSet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ spec:
148148
- mountPath: /var/thanos/store
149149
name: data
150150
readOnly: false
151+
nodeSelector:
152+
beta.kubernetes.io/os: linux
151153
securityContext:
152154
fsGroup: 65534
153155
runAsUser: 65534

examples/all/manifests/store-shard2-statefulSet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ spec:
148148
- mountPath: /var/thanos/store
149149
name: data
150150
readOnly: false
151+
nodeSelector:
152+
beta.kubernetes.io/os: linux
151153
securityContext:
152154
fsGroup: 65534
153155
runAsUser: 65534

examples/all/manifests/thanos-bucket-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ spec:
7676
cpu: 0.123
7777
memory: 123Mi
7878
terminationMessagePolicy: FallbackToLogsOnError
79+
nodeSelector:
80+
beta.kubernetes.io/os: linux
7981
securityContext:
8082
fsGroup: 65534
8183
runAsUser: 65534

examples/all/manifests/thanos-compact-statefulSet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ spec:
8787
- mountPath: /var/thanos/compact
8888
name: data
8989
readOnly: false
90+
nodeSelector:
91+
beta.kubernetes.io/os: linux
9092
securityContext:
9193
fsGroup: 65534
9294
runAsUser: 65534

examples/all/manifests/thanos-query-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ spec:
9292
periodSeconds: 5
9393
resources: {}
9494
terminationMessagePolicy: FallbackToLogsOnError
95+
nodeSelector:
96+
beta.kubernetes.io/os: linux
9597
securityContext:
9698
fsGroup: 65534
9799
runAsUser: 65534

examples/all/manifests/thanos-query-frontend-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ spec:
112112
cpu: 0.123
113113
memory: 123Mi
114114
terminationMessagePolicy: FallbackToLogsOnError
115+
nodeSelector:
116+
beta.kubernetes.io/os: linux
115117
securityContext:
116118
fsGroup: 65534
117119
runAsUser: 65534

examples/all/manifests/thanos-receive-default-statefulSet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ spec:
138138
readOnly: false
139139
- mountPath: /var/lib/thanos-receive
140140
name: hashring-config
141+
nodeSelector:
142+
beta.kubernetes.io/os: linux
141143
securityContext:
142144
fsGroup: 65534
143145
runAsUser: 65534

examples/all/manifests/thanos-receive-region-1-statefulSet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ spec:
138138
readOnly: false
139139
- mountPath: /var/lib/thanos-receive
140140
name: hashring-config
141+
nodeSelector:
142+
beta.kubernetes.io/os: linux
141143
securityContext:
142144
fsGroup: 65534
143145
runAsUser: 65534

0 commit comments

Comments
 (0)