kubernetes/cmd
Lubomir I. Ivanov 6dc11c1f21 kubeadm: ensure the kubelet and kube-apiserver wait checks go first
The addition of the "super-admin.conf" functionality required
init.go's Client() to create RBAC rules on its first creation.

However this created a problem with the "wait-control-plane" phase
of "kubeadm init" where a client is needed to connect to the
API server Discovery API's "/healthz" endpoint. The logic that ensures
the RBAC became the step where the API server wait was polled for.

To avoid this, introduce a new InitData function ClientWithoutBootstrap.
In "wait-control-plane" use this client, which has no permissions
(anonymous), but is sufficient to connect to the "/healthz".

Pending changes here would be:
- Stop using the "/healthz", instead a regular REST client from
the kubelet cert/key can be constructed.
- Make the wait for kubelet / API server linear (not in go routines).
2023-11-06 12:43:20 +02:00
..
clicheck More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
cloud-controller-manager remove ClusterCIDR 2023-10-14 19:06:22 +00:00
dependencycheck replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
dependencyverifier Track vendor status of unwanted deps 2023-09-06 21:48:30 -04:00
fieldnamedocscheck Add linter to check if api docs match field tag names 2023-01-18 10:49:12 +08:00
gendocs More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
genkubedocs replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
genman More migrations from genericclioptions to genericiooptions 2023-04-05 15:03:09 +03:00
genswaggertypedocs hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
genutils hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
genyaml More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
gotemplate golangci-lint: suppress one issue, demote others to "hints" 2023-08-22 20:39:23 +02:00
importverifier replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
kube-apiserver remove flag cidr max size validation if gate enable 2023-10-31 21:05:06 +00:00
kube-controller-manager service cidr controller manager: use new ServiceCIDR API 2023-10-31 21:05:50 +00:00
kube-proxy Distinguish iptables-based and nftables-based backends, do startup cleanup 2023-10-31 17:38:32 -04:00
kube-scheduler Change the scheduler plugins PluginFactory function to use context parameter to pass logger 2023-09-20 17:49:54 +08:00
kubeadm kubeadm: ensure the kubelet and kube-apiserver wait checks go first 2023-11-06 12:43:20 +02:00
kubectl Update sig-cli OWNERS 2022-02-14 10:55:35 -07:00
kubectl-convert More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
kubelet cmd/kubelet: fix overriding default KubeletConfig fields in drop-in configs if not set 2023-11-03 17:48:29 -04:00
kubemark Move hollow_proxy.go from pkg/kubemark to pkg/proxy/kubemark 2023-03-16 09:47:54 -04:00
preferredimports preferredimports: support regular expressions for the import path 2022-09-08 18:37:52 +02:00
prune-junit-xml prune's xml files to display only top level tests and failed sub-tests 2023-06-06 05:26:00 -07:00
yamlfmt add reviewers and labels to yamlfmt 2023-05-17 09:59:26 -07:00
OWNERS lavalamp is taking a long break 2023-05-11 16:43:38 +00:00