Create env fails when using a daemonset to create processes in Kubernetes Create env fails when using a daemonset to create processes in Kubernetes kubernetes kubernetes

Create env fails when using a daemonset to create processes in Kubernetes


Daemon Sets have to be docker containers. You can't have non-containerized programs run as Daemon Sets. https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ Kubernetes only launches containers.

Also in your YAML manifest file, I see a "processes" key and I have reason to believe it's not a valid manifest file, so I doubt you deployed it successfully.

You have not pasted the "full" YAML file, but I'm guessing the "template" key at the beginning is the spec.template key of the file.

Run kubectl explain daemonset.spec.template.spec and you'll see that there is no "processes" field.