Skip to content

Commit

Permalink
beta.kubernetes.io/arch has been deprecated in 1.14
Browse files Browse the repository at this point in the history
Signed-off-by: xin.li <xin.li@daocloud.io>
  • Loading branch information
my-git9 committed Oct 22, 2022
1 parent cfdd85c commit 981c3de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion util/helm/testdata/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The following table lists the configurable parameters of the Redis chart and the
| `master.args` | Redis master command-line args | [] |
| `master.disableCommands` | Comma-separated list of Redis commands to disable (master) | `FLUSHDB,FLUSHALL` |
| `master.extraFlags` | Redis master additional command line flags | [] |
| `master.nodeSelector` | Redis master Node labels for pod assignment | {"beta.kubernetes.io/arch": "amd64"} |
| `master.nodeSelector` | Redis master Node labels for pod assignment | {"kubernetes.io/arch": "amd64"} |
| `master.tolerations` | Toleration labels for Redis master pod assignment | [] |
| `master.affinity ` | Affinity settings for Redis master pod assignment | [] |
| `master.schedulerName` | Name of an alternate scheduler | `nil` |
Expand Down
6 changes: 3 additions & 3 deletions util/helm/testdata/redis/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ metrics:
# pullSecrets:
# - myRegistrKeySecretName
## Metrics exporter labels and tolerations for pod assignment
# nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
# nodeSelector: {"kubernetes.io/arch": "amd64"}
# tolerations: []
## Metrics exporter pod Annotation and Labels
# podLabels: {}
Expand Down Expand Up @@ -128,7 +128,7 @@ master:
## Redis Master Node labels and tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
# nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
# nodeSelector: {"kubernetes.io/arch": "amd64"}
# tolerations: []
## Redis Master pod annotations
podAnnotations: {}
Expand Down Expand Up @@ -243,7 +243,7 @@ slave:
# cpu: 100m

## Redis slave labels and tolerations for pod assignment
# nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
# nodeSelector: {"kubernetes.io/arch": "amd64"}
# tolerations: []

## Redis slave pod Annotation and Labels
Expand Down
6 changes: 3 additions & 3 deletions util/helm/testdata/redis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ metrics:
# - myRegistrKeySecretName

## Metrics exporter labels and tolerations for pod assignment
# nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
# nodeSelector: {"kubernetes.io/arch": "amd64"}
# tolerations: []

## Metrics exporter pod Annotation and Labels
Expand Down Expand Up @@ -170,7 +170,7 @@ master:
## Redis Master Node labels and tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
# nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
# nodeSelector: {"kubernetes.io/arch": "amd64"}
# tolerations: []
## Redis Master pod/node affinity/anti-affinity
affinity: {}
Expand Down Expand Up @@ -286,7 +286,7 @@ slave:
# cpu: 100m

## Redis slave labels and tolerations for pod assignment
# nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
# nodeSelector: {"kubernetes.io/arch": "amd64"}
# tolerations: []

## Use an alternate scheduler, e.g. "stork".
Expand Down

0 comments on commit 981c3de

Please sign in to comment.