Converts a static Pod-hosted control plane into a self-hosted one
Converts 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 phase selfhosting convert-from-staticpods [flags]
# Converts a static Pod-hosted control plane into a self-hosted one, # functionally equivalent to what generated by kubeadm init executed # with --feature-gates=SelfHosting=true. kubeadm alpha phase selfhosting convert-from-staticpods
|--cert-dir string Default: "/etc/kubernetes/pki"|
|The path where certificates are stored|
|Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental|
|A set of key=value pairs that describe feature gates for various features. Options are:
Auditing=true|false (ALPHA - default=false)
DynamicKubeletConfig=true|false (BETA - default=false)
|help for convert-from-staticpods|
|--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 are searched for an existing KubeConfig file.|
|[EXPERIMENTAL] The path to the 'real' host root filesystem.|