When creating backup with Velero, it fails with error message "daemonset pod not found in running state in node ####" as below.
$ velero backup get backup-202502011215
NAME STATUS ERRORS WARNINGS CREATED EXPIRES STORAGE LOCATION SELECTOR
backup-202502011215 PartiallyFailed 1 0 2025-02-01 00:12:15 +0200 21d minio <none>
Phase: PartiallyFailed (run `velero backup logsbackup-202502011215` for more information)
Errors:
Velero: name: /<POD_NAME> message: /Error backing up item error: /daemonset pod not found in running state in node <A_CONTROL_PLANE_NODE>
Cluster: <none>
Namespaces: <none>
By default, during Velero installation, node-agent daemonset is only installed on Kubernetes worker nodes. The node-agent is required during backup. However if a pod is running on control-plane node, because of lacking of the node-agent, the backup would not be executed and Velero will return "daemonset pod not found in running state in node ####" error message.
Please apply the resolutions as below based on your environment: