Skip to content

Commit

Permalink
fix(agent-daemonset): tolerate all taints
Browse files Browse the repository at this point in the history
Agent DaemonSet should respect all taints to avoid
getting blocked in node bundle collection.

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and bk201 committed Nov 28, 2022
1 parent 279a658 commit d605867
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/manager/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,8 @@ func (a *AgentDaemonSet) Create(image string, managerURL string) error {
NodeSelector: a.sbm.getNodeSelector(),
Tolerations: []corev1.Toleration{
{
Key: types.KubevirtDrainKey,
Operator: corev1.TolerationOpExists,
},
{
Key: corev1.TaintNodeUnschedulable,
Operator: corev1.TolerationOpExists,
Effect: corev1.TaintEffectNoSchedule,
},
},
Containers: []corev1.Container{
{
Expand Down

0 comments on commit d605867

Please sign in to comment.