Re: [kubernetes-users] Updating a daemonset, but "`selector` does not match template `labels`"

2017-04-12 Thread Matthias Rampke
If I recall correctly, the implicit selector is created from the daemonset metadata. A daemonset needs a selector to function, so it knows which pods already exist. You are probably better off being explicit about it. /MR On Tue, Apr 11, 2017, 23:07 Nate Rook wrote: > So, I'm updating a daemon

[kubernetes-users] Updating a daemonset, but "`selector` does not match template `labels`"

2017-04-11 Thread Nate Rook
So, I'm updating a daemonset to look like this: apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name: sysdig-agent spec: template: metadata: name: sysdig-agent labels: type: sysdig-agent class: infrastructure environment: staging spec: