kubeadm: update the state in app/cmd.go

- BETA->GA
- master->control-plane
- exclude @ mentions as only members can use them
This commit is contained in:
Lubomir I. Ivanov
2018-11-12 03:58:37 +02:00
parent 8307fb2fb3
commit c46e949799

View File

@@ -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.