Commit 8a0e051c authored by Taylor Thomas's avatar Taylor Thomas

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
parent 83a2d703
...@@ -166,6 +166,9 @@ func generateDeployment(opts *Options) *extensions.Deployment { ...@@ -166,6 +166,9 @@ func generateDeployment(opts *Options) *extensions.Deployment {
}, },
}, },
}, },
NodeSelector: map[string]string{
"beta.kubernetes.io/os": "linux",
},
SecurityContext: &api.PodSecurityContext{ SecurityContext: &api.PodSecurityContext{
HostNetwork: opts.EnableHostNetwork, HostNetwork: opts.EnableHostNetwork,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment