You are viewing documentation for Kubernetes version: v1.19
Kubernetes v1.19 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
Convert static Pod files for control plane components into self-hosted DaemonSets configured via the Kubernetes API.
See the documentation for self-hosting limitations.
Alpha Disclaimer: this command is currently alpha.
kubeadm alpha selfhosting pivot [flags]
# Convert a static Pod-hosted control plane into a self-hosted one. kubeadm alpha phase self-hosting convert-from-staticpods
|--cert-dir string Default: "/etc/kubernetes/pki"|
|The path where certificates are stored|
|Path to a kubeadm configuration file.|
|Pivot the cluster without prompting for confirmation|
|help for pivot|
|--kubeconfig string Default: "/etc/kubernetes/admin.conf"|
|The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.|
|Enable storing certs in secrets|
Options inherited from parent commands
|[EXPERIMENTAL] The path to the 'real' host root filesystem.|