Skip to content

jsonnet/manifests/example: Update/generate nodeSelector to kubernetes.io/os instead of beta.kubernetes.io/os #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/all/manifests/compact-shard0-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/compact-shard1-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/compact-shard2-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/store-shard0-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/store-shard1-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/store-shard2-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-bucket-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
memory: 123Mi
terminationMessagePolicy: FallbackToLogsOnError
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-compact-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-query-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ spec:
resources: {}
terminationMessagePolicy: FallbackToLogsOnError
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ spec:
memory: 123Mi
terminationMessagePolicy: FallbackToLogsOnError
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ spec:
- mountPath: /var/lib/thanos-receive
name: hashring-config
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ spec:
- mountPath: /var/lib/thanos-receive
name: hashring-config
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-receive-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ spec:
- mountPath: /var/lib/thanos-receive
name: hashring-config
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-rule-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ spec:
- mountPath: /etc/thanos/rules/test
name: test
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-store-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-bucket.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function(params) {
containers: [container],
terminationGracePeriodSeconds: 120,
nodeSelector: {
'beta.kubernetes.io/os': 'linux',
'kubernetes.io/os': 'linux',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-compact.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function(params) {
volumes: [],
terminationGracePeriodSeconds: 120,
nodeSelector: {
'beta.kubernetes.io/os': 'linux',
'kubernetes.io/os': 'linux',
},
affinity: { podAntiAffinity: {
preferredDuringSchedulingIgnoredDuringExecution: [{
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-query-frontend.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function(params) {
securityContext: tqf.config.securityContext,
terminationGracePeriodSeconds: 120,
nodeSelector: {
'beta.kubernetes.io/os': 'linux',
'kubernetes.io/os': 'linux',
},
affinity: { podAntiAffinity: {
preferredDuringSchedulingIgnoredDuringExecution: [{
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-query.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function(params) {
serviceAccountName: tq.serviceAccount.metadata.name,
terminationGracePeriodSeconds: 120,
nodeSelector: {
'beta.kubernetes.io/os': 'linux',
'kubernetes.io/os': 'linux',
},
affinity: { podAntiAffinity: {
preferredDuringSchedulingIgnoredDuringExecution: [{
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-receive.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function(params) {
}] else [],
terminationGracePeriodSeconds: 900,
nodeSelector: {
'beta.kubernetes.io/os': 'linux',
'kubernetes.io/os': 'linux',
},
affinity: { podAntiAffinity: {
local labelSelector = { matchExpressions: [{
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-rule.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function(params) {
for ruleConfig in tr.config.rulesConfig
],
nodeSelector: {
'beta.kubernetes.io/os': 'linux',
'kubernetes.io/os': 'linux',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-store.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function(params) {
volumes: [],
terminationGracePeriodSeconds: 120,
nodeSelector: {
'beta.kubernetes.io/os': 'linux',
'kubernetes.io/os': 'linux',
},
affinity: { podAntiAffinity: {
preferredDuringSchedulingIgnoredDuringExecution: [{
Expand Down
2 changes: 1 addition & 1 deletion manifests/thanos-query-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
resources: {}
terminationMessagePolicy: FallbackToLogsOnError
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down
2 changes: 1 addition & 1 deletion manifests/thanos-store-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
name: data
readOnly: false
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsUser: 65534
Expand Down