added toleration to schedule pod on master

Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com>
This commit is contained in:
Tullio Sebastiani
2025-06-30 10:30:47 +02:00
parent c56819365c
commit e6b1665aa1

View File

@@ -10,6 +10,10 @@ spec:
hostPID: true
nodeSelector:
kubernetes.io/hostname: {{target}}
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
containers:
- name: {{container_name}}
imagePullPolicy: Always