Failed to schedule Fluentd pods

The Fluentd daemonset is unable to schedule pods.


You might see the following error message:

Warning FailedScheduling 4s (x12 over 4m50s) default-scheduler 0/4 nodes are available: 1 Insufficient memory, 3 node(s) didn't match node selector.


The cluster nodes might have insufficient CPU.

Resolving the problem

Remove the resources specification from the daemonset.

  1. Install kubectl. For more information, see Installing the Kubernetes CLI (kubectl).

  2. Get the audit logging daemonset name.

    kubectl get ds | grep audit
  3. Edit the daemonset.

    kubectl edit ds <daemonset-name>
  4. Delete the resources specification.

       cpu:    300m
       memory: 512Mi