You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin/kubeadm.md
+55-1Lines changed: 55 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -607,7 +607,7 @@ using kubeadm.
607
607
- Less convenient to use manually since the file is difficult to copy and paste
608
608
between nodes.
609
609
610
-
## Use Kubeadm with other CRI runtimes
610
+
## Use kubeadm with other CRI runtimes
611
611
612
612
Since [Kubernetes 1.6 release](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#node-components-1), Kubernetes container runtimes have been transferred to using CRI by default. Currently, the build-in container runtime is Docker which is enabled by build-in `dockershim` in `kubelet`.
613
613
@@ -820,6 +820,60 @@ This means you can, for example, prepopulate `/etc/kubernetes/pki/ca.crt`
820
820
and `/etc/kubernetes/pki/ca.key` with an existing CA, which then will be used
821
821
for signing the rest of the certs.
822
822
823
+
## Self-hosting the Kubernetes control plane {#self-hosting}
824
+
As of 1.8, kubeadm can experimentally create a _self-hosted_ Kubernetes control
825
+
plane. This means that key components such as the API server, controller
826
+
manager, and scheduler run as [DaemonSet pods](/docs/concepts/workloads/controllers/daemonset/)
827
+
configured via the Kubernetes API instead of [static pods](/docs/tasks/administer-cluster/static-pod/)
828
+
configured in the kubelet via static files.
829
+
830
+
Self-hosting is alpha in kubeadm 1.8 but is expected to become the default in
831
+
a future version. To create a self-hosted cluster, pass the `--feature-gates=SelfHosting=true`
832
+
flag to `kubeadm init`.
833
+
834
+
#### Caveats
835
+
Kubeadm self-hosting in 1.8 has some important limitations. In particular, a
836
+
self-hosted cluster cannot currently recover from a reboot of the master node
837
+
without manual intervention. This and other limitations are expected to be
838
+
resolved before self-hosting graduates from alpha.
839
+
840
+
By default, self-hosted control plane pods rely on credentials loaded from
0 commit comments