Skip to content

Commit 299497c

Browse files
authored
Merge pull request #429 from danbudris/copyFromHostForCpNodes
add toleration to copy-from-host daemonset to allow collection from CP nodes
2 parents 050f593 + 67987a4 commit 299497c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/collect/copy_from_host.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ func copyFromHostCreateDaemonSet(ctx context.Context, client kubernetes.Interfac
131131
},
132132
},
133133
},
134+
Tolerations: []corev1.Toleration{
135+
{
136+
Key: "node-role.kubernetes.io/master",
137+
Operator: "Exists",
138+
Effect: "NoSchedule",
139+
},
140+
},
134141
Volumes: []corev1.Volume{
135142
{
136143
Name: "host",

0 commit comments

Comments
 (0)