kubernetes/cluster/saltbase/salt/kubelet
Kubernetes Submit Queue 26c431affa Merge pull request #47632 from mwielgus/node-taints-scripts
Automatic merge from submit-queue (batch tested with PRs 45268, 47573, 47632, 47818)

NODE_TAINTS in gce startup scripts

Currently there is now way to pass a list of taints that should be added on node registration (at least not in gce or other saltbased deployment). This PR adds necessary plumbing to pass the taints from user or instance group template to kubelet startup flags. 

```release-note
Taints support in gce/salt startup scripts. 
```

The PR was manually tested. 
```
NODE_TAINTS: 'dedicated=ml:NoSchedule'
```
in kube-env results in 
```
spec:
[...]
  taints:
  - effect: NoSchedule
    key: dedicated
    timeAdded: null
    value: ml
```

cc: @davidopp @gmarek @dchen1107 @MaciekPytel
2017-06-20 18:18:59 -07:00
..
default Merge pull request #47632 from mwielgus/node-taints-scripts 2017-06-20 18:18:59 -07:00
init.sls save kubelet cert between reboots on CVM 2017-06-06 14:24:02 -07:00
initd Fix the race when monit is used to monitor services which are also 2015-05-28 11:58:33 -07:00
kubeconfig Register the kubelet on the master node with an apiserver. This option is 2015-08-06 13:39:32 -07:00
kubelet.service salt: Don't stop trying to start kubelet 2016-09-15 14:22:27 -04:00