Skip to content

Commit

Permalink
Merge pull request openyurtio#299 from yanyhui/master
Browse files Browse the repository at this point in the history
It solves the problem that the cloud node configuration taint causes the pod of yurt controller manage to be unable to schedule to the cloud node
  • Loading branch information
rambohe-ch authored May 13, 2021
2 parents 543825c + c83263d commit 35b2304
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/setup/yurt-controller-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ spec:
spec:
serviceAccountName: yurt-controller-manager
hostNetwork: true
tolerations:
- operator: "Exists"
affinity:
nodeAffinity:
# we prefer allocating ecm on cloud node
Expand Down
2 changes: 2 additions & 0 deletions config/yaml-template/yurt-controller-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ spec:
spec:
serviceAccountName: __project_prefix__-controller-manager
hostNetwork: true
tolerations:
- operator: "Exists"
affinity:
nodeAffinity:
# we prefer allocating ecm on cloud node
Expand Down
2 changes: 2 additions & 0 deletions pkg/yurtctl/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ spec:
spec:
serviceAccountName: yurt-controller-manager
hostNetwork: true
tolerations:
- operator: "Exists"
affinity:
nodeAffinity:
# we prefer allocating ecm on cloud node
Expand Down

0 comments on commit 35b2304

Please sign in to comment.