fix(helm): Ensures tiller pod lands on a linux node

Without a node selector to ensure that tiller deploys on a linux node,
the tiller pod can have issues starting in a mixed cluster.

Fixes #2420
pull/2544/head
Taylor Thomas 7 years ago
parent 83a2d7035a
commit 8a0e051c1d

@ -166,6 +166,9 @@ func generateDeployment(opts *Options) *extensions.Deployment {
},
},
},
NodeSelector: map[string]string{
"beta.kubernetes.io/os": "linux",
},
SecurityContext: &api.PodSecurityContext{
HostNetwork: opts.EnableHostNetwork,
},

Loading…
Cancel
Save