Unverified Commit bea07c0d authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #70935 from neolit123/kubeadm-update-cmd-go

kubeadm: update the state in app/cmd.go
parents 8b562218 c46e9497
...@@ -37,32 +37,31 @@ func NewKubeadmCommand(in io.Reader, out, err io.Writer) *cobra.Command { ...@@ -37,32 +37,31 @@ func NewKubeadmCommand(in io.Reader, out, err io.Writer) *cobra.Command {
Use: "kubeadm", Use: "kubeadm",
Short: "kubeadm: easily bootstrap a secure Kubernetes cluster", Short: "kubeadm: easily bootstrap a secure Kubernetes cluster",
Long: dedent.Dedent(` Long: dedent.Dedent(`
kubeadm: easily bootstrap a secure Kubernetes cluster.
┌──────────────────────────────────────────────────────────┐ ┌──────────────────────────────────────────────────────────┐
│ KUBEADM IS CURRENTLY IN BETA │ | KUBEADM │
| Easily bootstrap a secure Kubernetes cluster |
│ │ │ │
But please, try it out and give us feedback at: Please give us feedback at:
│ https://github.com/kubernetes/kubeadm/issues │ │ https://github.com/kubernetes/kubeadm/issues │
│ and at-mention @kubernetes/sig-cluster-lifecycle-bugs │
│ or @kubernetes/sig-cluster-lifecycle-feature-requests │
└──────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────┘
Example usage: Example usage:
Create a two-machine cluster with one master (which controls the cluster), Create a two-machine cluster with one control-plane node
and one node (where your workloads, like Pods and Deployments run). (which controls the cluster), and one worker node
(where your workloads, like Pods and Deployments run).
┌──────────────────────────────────────────────────────────┐ ┌──────────────────────────────────────────────────────────┐
│ On the first machine: │ │ On the first machine: │
├──────────────────────────────────────────────────────────┤ ├──────────────────────────────────────────────────────────┤
master# kubeadm init control-plane# kubeadm init
└──────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────┘
┌──────────────────────────────────────────────────────────┐ ┌──────────────────────────────────────────────────────────┐
│ On the second machine: │ │ On the second machine: │
├──────────────────────────────────────────────────────────┤ ├──────────────────────────────────────────────────────────┤
node# kubeadm join <arguments-returned-from-init> worker# kubeadm join <arguments-returned-from-init>
└──────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────┘
You can then repeat the second step on as many other machines as you like. You can then repeat the second step on as many other machines as you like.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment