Skip to content

Commit

Permalink
Merge pull request #537 from morremeyer/chore/control-plane
Browse files Browse the repository at this point in the history
chore: update tolerations and affinities to control-plane
  • Loading branch information
k8s-ci-robot committed Jul 7, 2021
2 parents 6e03981 + d11edaa commit 42e8fff
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/node-feature-discovery/Chart.yaml
Expand Up @@ -12,4 +12,4 @@ keywords:
- feature-detection
- node-labels
type: application
version: 0.1.2
version: 0.2.0
10 changes: 10 additions & 0 deletions deployment/node-feature-discovery/values.yaml
Expand Up @@ -58,6 +58,10 @@ master:
operator: "Equal"
value: ""
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Equal"
value: ""
effect: "NoSchedule"

annotations: {}

Expand All @@ -70,6 +74,12 @@ master:
- key: "node-role.kubernetes.io/master"
operator: In
values: [""]
- weight: 1
preference:
matchExpressions:
- key: "node-role.kubernetes.io/control-plane"
operator: In
values: [""]

worker:
configmapName: nfd-worker-conf
Expand Down
10 changes: 10 additions & 0 deletions nfd-master.yaml.template
Expand Up @@ -70,11 +70,21 @@ spec:
- key: "node-role.kubernetes.io/master"
operator: In
values: [""]
- weight: 1
preference:
matchExpressions:
- key: "node-role.kubernetes.io/control-plane"
operator: In
values: [""]
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Equal"
value: ""
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Equal"
value: ""
effect: "NoSchedule"
containers:
- env:
- name: NODE_NAME
Expand Down
10 changes: 10 additions & 0 deletions nfd-prune.yaml.template
Expand Up @@ -67,11 +67,21 @@ spec:
- key: "node-role.kubernetes.io/master"
operator: In
values: [""]
- weight: 1
preference:
matchExpressions:
- key: "node-role.kubernetes.io/control-plane"
operator: In
values: [""]
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Equal"
value: ""
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Equal"
value: ""
effect: "NoSchedule"
containers:
- name: nfd-master
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
Expand Down

0 comments on commit 42e8fff

Please sign in to comment.