Added the ability to tolerate every taints.

pull/6097/head
Federico Bertola 6 years ago committed by GitHub
parent e70f012bb6
commit 745297c1c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -256,6 +256,9 @@ func generateDeployment(opts *Options) (*v1beta1.Deployment, error) {
}, },
}, },
}, },
Tolerations: []v1.Toleration{
{Operator: v1.TolerationOpExists}
},
HostNetwork: opts.EnableHostNetwork, HostNetwork: opts.EnableHostNetwork,
NodeSelector: nodeSelectors, NodeSelector: nodeSelectors,
}, },

Loading…
Cancel
Save