I have the EFK stack deployed for logging on an openshift 3.6 cluster with the standard Ansible playbook provided by openshift. So there is one fluentd pod running on every node of the cluster and two elasticsearch containers in total.
I would like to temporarily disable a fluentd container. When I delete the pod, a new one is started in its place after a few seconds because of the DaemonSet. How could I prolong the time that the fluentd pod is down?
You can change the node selector label on Daemon set of fluentd
oc edit ds logging-fluentd
nodeSelector: logging-infra-fluentd: "true"
Change the value "true" to "false" ,save,and delete the fluentd pod it will not create again.