k3s/cmd
Kubernetes Submit Queue e7e9587799 Merge pull request #32102 from errordeveloper/fix-32085
Automatic merge from submit-queue

Do not go into standalone mode when `--require-kubeconfig` is passed

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

We have change how missing `--api-servers` is treated with introduction of `--require-kubeconfig` (#30798), however we haven't introduced explicit `--standalone` flag for backwards-compatibility reasons. Right now, setting `--kubeconfig` and`--require-kubeconfig` still gets kubelet into standalone mode. In practice this means that it doesn't get to update `nodeInfo` and thereby may refuse to admit pods which had been assigned to it by the scheduler. For example, if you update labels for that given node, and try to use affinity or `NodeLabels` on a pod, it won't get to run.

**Which issue this PR fixes**: fixes #32085

**Special notes for your reviewer**: This fix is only until we introduce `--standalone` flag.

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```
2016-09-06 11:11:40 -07:00
..
gendocs Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
genkubedocs Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
genman Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
genswaggertypedocs Remove GOMAXPROCS() calls because they are unnecessary 2016-07-19 11:08:21 +03:00
genutils Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
genyaml Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
hyperkube Split the version metric out to its own package 2016-08-24 11:47:16 -07:00
kube-apiserver Revert "Remove deprecated Namespace admission plug-ins" 2016-08-28 10:20:44 -07:00
kube-controller-manager Namespace certificates API group 2016-09-01 14:39:06 -04:00
kube-dns Split the version metric out to its own package 2016-08-24 11:47:16 -07:00
kube-proxy Clean up IPTables caps i.e.: sed -i "s/Iptables/IPTables/g" 2016-08-29 10:34:42 +10:00
kubectl Split the version metric out to its own package 2016-08-24 11:47:16 -07:00
kubelet Do not go into standalone mode when `--require-kubeconfig` is passed (fix #32085) 2016-09-06 08:30:06 +01:00
kubemark Split the version metric out to its own package 2016-08-24 11:47:16 -07:00
kubernetes-discovery etcd3 validation showed that several unit tests that depend on apiserver being fully 2016-08-18 14:12:24 -05:00
libs/go2idl generated DeepCopy without a function on a struct pointer is wrong 2016-09-04 15:26:02 -04:00
linkcheck Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
mungedocs Update the latestReleaseBranch to release-1.4 in the munger. 2016-09-01 14:40:55 -07:00
OWNERS Remove myself from a bunch of OWNERS files, as I am too overloaded 2016-05-11 13:34:51 -07:00