From 8bf9a26a5bb11e9a3ad74a06aa0b2e3b390d75e3 Mon Sep 17 00:00:00 2001 From: Rupesh Patel Date: Fri, 17 Jun 2022 17:25:32 +0530 Subject: [PATCH] Update daemonset.yaml If the user wants to run DS on masters, they can easily notice the changes they need to apply in DS yaml file. --- utilities/collectl/daemonset.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utilities/collectl/daemonset.yaml b/utilities/collectl/daemonset.yaml index 8fc7bb3..3b623b8 100644 --- a/utilities/collectl/daemonset.yaml +++ b/utilities/collectl/daemonset.yaml @@ -14,6 +14,12 @@ spec: labels: app: collectl spec: + # these toleration are to have the daemonset runnable on control plane nodes + # Uncomment them if you want control plane nodes to run DS pods + #tolerations: + #- key: node-role.kubernetes.io/master + # operator: Exists + # effect: NoSchedule nodeSelector: collectl: "true" containers: @@ -53,4 +59,4 @@ spec: hostNetwork: true hostIPC: true serviceAccount: openshift4-debug - serviceAccountName: openshift4-debug \ No newline at end of file + serviceAccountName: openshift4-debug