Skip to content

Commit

Permalink
add nodeSelector to cni-metrics-helper deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sushrk committed Jul 28, 2022
1 parent 35eac2d commit fe1b44c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/master/cni-metrics-helper-cn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ spec:
name: cni-metrics-helper
image: "961992271922.dkr.ecr.cn-northwest-1.amazonaws.com.cn/cni-metrics-helper:v1.11.2"
serviceAccountName: cni-metrics-helper
nodeSelector:
kubernetes.io/os: "linux"
2 changes: 2 additions & 0 deletions config/master/cni-metrics-helper-us-gov-east-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ spec:
name: cni-metrics-helper
image: "151742754352.dkr.ecr.us-gov-east-1.amazonaws.com/cni-metrics-helper:v1.11.2"
serviceAccountName: cni-metrics-helper
nodeSelector:
kubernetes.io/os: "linux"
2 changes: 2 additions & 0 deletions config/master/cni-metrics-helper-us-gov-west-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ spec:
name: cni-metrics-helper
image: "013241004608.dkr.ecr.us-gov-west-1.amazonaws.com/cni-metrics-helper:v1.11.2"
serviceAccountName: cni-metrics-helper
nodeSelector:
kubernetes.io/os: "linux"
2 changes: 2 additions & 0 deletions config/master/cni-metrics-helper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ spec:
name: cni-metrics-helper
image: "602401143452.dkr.ecr.us-west-2.amazonaws.com/cni-metrics-helper:v1.11.2"
serviceAccountName: cni-metrics-helper
nodeSelector:
kubernetes.io/os: "linux"
3 changes: 2 additions & 1 deletion test/helm/charts/cni-metrics-helper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ autoscaling:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

nodeSelector: {}
nodeSelector:
kubernetes.io/os: "linux"

tolerations: []

Expand Down

0 comments on commit fe1b44c

Please sign in to comment.