Synopsis
Generate all kubeconfig files
kubeadm init phase kubeconfig all [flags]
Options
| --apiserver-advertise-address string | |
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. |
|
| --apiserver-bind-port int32 Default: 6443 | |
Port for the API Server to bind to. |
|
| --cert-dir string Default: "/etc/kubernetes/pki" | |
The path where to save and store the certificates. |
|
| --config string | |
Path to a kubeadm configuration file. |
|
| --control-plane-endpoint string | |
Specify a stable IP address or DNS name for the control plane. |
|
| --dry-run | |
Don't apply any changes; just output what would be done. |
|
| -h, --help | |
help for all |
|
| --kubeconfig-dir string Default: "/etc/kubernetes" | |
The path where to save the kubeconfig file. |
|
| --kubernetes-version string Default: "stable-1" | |
Choose a specific Kubernetes version for the control plane. |
|
| --node-name string | |
Specify the node name. |
|
Options inherited from parent commands
| --rootfs string | |
The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. |
|
Last modified September 04, 2025 at 3:32 PM PST: Update kubeadm reference for v1.34 (02f1b512e4)