kubeadm init
kubeadm init [--pod-network-cidr <cidr>] [--control-plane-endpoint <host:port>]
Risk: Careful
What it does
Turns a fresh machine into the manager's office: certificates, kubeconfig files, static pod manifests and a join token.
When to use it
Once, on the first machine of a new cluster. Real machines only, not the practice terminal.
Example
$ sudo kubeadm init --pod-network-cidr 10.244.0.0/16Build the office, and give pods their own address range.
Learn it in: kubeadm: how a cluster is born · Official docs