k3s/cluster/gce/container-linux
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
..
OWNERS OWNERS: Update latest OWNERS files 2017-01-23 10:05:48 -08:00
README.md cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
configure-helper.sh Merge pull request #47632 from mwielgus/node-taints-scripts 2017-06-20 18:18:59 -07:00
configure.sh Bump CNI consumers to latest version 2017-03-22 16:03:13 -07:00
health-monitor.sh Fix the output of health-mointor.sh 2017-02-15 18:08:27 -08:00
helper.sh cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
master-helper.sh Update cluster startup scripts to use gcloud beta for alias IP support 2017-05-17 16:26:48 -07:00
master.yaml cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
node-helper.sh cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
node.yaml cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00

README.md

Container Linux image

The Container Linux Operating System is a Linux distribution optimized for running containers securely at scale. CoreOS provides a Container Linux image for Google Cloud Platform (GCP).

This folder contains configuration and tooling to allow kube-up to create a Kubernetes cluster on Google Cloud Platform running on the official Container Linux image.

Analytics