kubernetes/pkg/scheduler/algorithm
Kubernetes Submit Queue 6d0b71740f
Merge pull request #59968 from kubernetes/revert-59323-nodetaint
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Revert "add node shutdown taint"

Reverts kubernetes/kubernetes#59323

Node becomes unready, but is never removed. I've found the following in [kube-controller-manager.log](https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gce-autoscaling/6055/artifacts/bootstrap-e2e-master/cluster-autoscaler.log) from test run for one such node:

`E0216 01:14:27.084923       1 node_lifecycle_controller.go:686] Error determining if node bootstrap-e2e-minion-group-01b1 shutdown in cloud: failed to get instance ID from cloud provider: instance not found`

This goes on for the rest of the run (~6h). Looks like the node is stuck in Unready state because of this check: https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/nodelifecycle/node_lifecycle_controller.go#L684. Previously, there was no such check and the node was removed.

Reverting as this would affect all users attempting to resize their node groups on GCE.

```release-note
NONE
```
2018-02-16 20:12:56 -08:00
..
predicates format some import statements in scheduler pkg 2018-02-12 09:04:00 +08:00
priorities fix all the typos across the project 2018-02-11 11:04:14 +08:00
BUILD Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
doc.go Fix golint errors in pkg/scheduler based on golint check 2018-02-08 15:22:47 +08:00
scheduler_interface_test.go
scheduler_interface.go
types_test.go Rename func name according TODO 2018-01-15 00:08:59 -05:00
types.go Fix golint errors in pkg/scheduler based on golint check 2018-02-08 15:22:47 +08:00
well_known_labels.go Merge pull request #59968 from kubernetes/revert-59323-nodetaint 2018-02-16 20:12:56 -08:00