kubernetes/test/cmd
Kubernetes Submit Queue 0148f25fe7
Merge pull request #67734 from Huang-Wei/fix-nodelost-issue
Automatic merge from submit-queue (batch tested with PRs 64597, 67854, 67734, 67917, 67688). 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>.

fix an issue that scheduling doesn't respect NodeLost status of a node

**What this PR does / why we need it**:

- if Node is in UnknowStatus, apply unreachable taint with NoSchedule effect
- some internal data structure refactoring
- update unit test

**Which issue(s) this PR fixes**:
Fixes #67733, and very likely #67536

**Special notes for your reviewer**:

See detailed reproducing steps in #67733.

**Release note**:
```release-note
Apply unreachable taint to a node when it lost network connection.
```
2018-08-27 22:18:12 -07:00
..
apply.sh kubectl: recreating resources for immutable fields when force is applied 2018-08-09 22:59:02 +08:00
apps.sh Fix NameFromCommandArgs when passing command after -- 2018-08-22 15:23:13 +02:00
authorization.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
batch.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
BUILD delete copied comment 2018-07-06 16:26:56 -07:00
certificate.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
core.sh Make kubectl create secret tls work with process substitution 2018-08-22 10:35:07 -04:00
crd.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
create.sh Full blown kubectl create job 2018-08-01 15:04:04 +02:00
diff.sh diff: Fix crash when remote object doesn't exist 2018-08-22 06:36:29 -07:00
discovery.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
generic-resources.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
get.sh prevent "No resources found" output on forbidden error 2018-08-15 13:54:23 -04:00
initializers.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
kubeconfig.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
legacy-script.sh Full blown kubectl create job 2018-08-01 15:04:04 +02:00
node-management.sh update e2e shell script due to newly introduced unreachable:NoSchedule taint when the node is in Unknown status 2018-08-27 16:19:03 -07:00
old-print.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
OWNERS move test-cmd guts to separate sig-cli maintained directory 2018-07-05 11:38:26 -04:00
plugins.sh add updated plugin mechanism 2018-08-15 15:06:29 -04:00
proxy.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
rbac.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
request-timeout.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
run.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
save-config.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
storage.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00
template-output.sh wire PrintFlags through rollout commands 2018-07-06 17:32:42 -04:00
version.sh straight split of test-cmd 2018-07-05 11:38:26 -04:00