From ddbac3290819e79a35f826d178f86fbe8fd8716e Mon Sep 17 00:00:00 2001 From: Drinky Pool Date: Mon, 15 Jan 2018 09:15:37 +0800 Subject: [PATCH] remove empty ExecStart remove empty ExecStart --- docs/reference/setup-tools/kubeadm/kubeadm-init.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/reference/setup-tools/kubeadm/kubeadm-init.md b/docs/reference/setup-tools/kubeadm/kubeadm-init.md index deb7665abc..1e2c66c8c2 100755 --- a/docs/reference/setup-tools/kubeadm/kubeadm-init.md +++ b/docs/reference/setup-tools/kubeadm/kubeadm-init.md @@ -241,7 +241,6 @@ Environment="KUBELET_DNS_ARGS=--cluster-dns=10.96.0.10 --cluster-domain=cluster. Environment="KUBELET_AUTHZ_ARGS=--authorization-mode=Webhook --client-ca-file=/etc/kubernetes/pki/ca.crt" Environment="KUBELET_CADVISOR_ARGS=--cadvisor-port=0" Environment="KUBELET_CERTIFICATE_ARGS=--rotate-certificates=true --cert-dir=/var/lib/kubelet/pki" -ExecStart= ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS $KUBELET_CADVISOR_ARGS $KUBELET_CERTIFICATE_ARGS $KUBELET_EXTRA_ARGS ``` @@ -383,7 +382,7 @@ In summary, `kubeadm init --feature-gates=SelfHosting=true` works as follows: 1. Creates DaemonSets in the `kube-system` namespace and waits for the resulting Pods to be running. - 1. Once self-hosted Pods are operational, it's associated static Pods are deleted + 1. Once self-hosted Pods are operational, their associated static Pods are deleted and kubeadm moves on to install the next component. This triggers kubelet to stop those static Pods.