Google cloud system kube-system namespaced deployed daemonsets not working

4/1/2020

We are having problem with several deployments in our cluster that do not seem to be working. But I am a bit apprehensive in touching these, since they are part of the kube-system namespace. I am also unsure as what the correct approach to getting them into an OK state is.

I currently have two daemonsets that have warnings with the message

DaemonSet has no nodes selected

See images below. Does anyone have any idea what the correct approach is?

enter image description here enter image description here

-- The Kaizer
google-cloud-platform
kubernetes

1 Answer

4/1/2020

A DaemonSet is creating a pod in each node of your Kubernetes cluster.

If the Kubernetes scheduler cannot schedule any pod, there are several possibilities:

There are not the only solutions possible. More generally, a good start would be to look at the events associated to the daemon set:

> kubectl describe daemonsets NAME_OF_YOUR_DAEMON_SET
-- Kartoch
Source: StackOverflow