You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To specify an IPv6 tuple for `<control-plane-host>:<control-plane-port>`, IPv6 address must be enclosed in square brackets, for example: `[2001:db8::101]:2073`.
453
-
{{< /note >}}
402
+
See [Creating Highly Available Clusters with kubeadm](/docs/setup/production-environment/tools/kubeadm/high-availability/) for steps on creating a high availability kubeadm cluster by adding more control plane
403
+
nodes.
454
404
455
-
The output should look something like:
405
+
### Adding worker nodes {#join-nodes}
456
406
457
-
```
458
-
[preflight] Running pre-flight checks
407
+
The worker nodes are where your workloads run.
459
408
460
-
... (log output of join workflow) ...
409
+
The following pages show how to add Linux and Windows worker nodes to the cluster by using
410
+
the `kubeadm join` command:
461
411
462
-
Node join complete:
463
-
* Certificate signing request sent to control-plane and response
464
-
received.
465
-
* Kubelet informed of new secure connection details.
466
-
467
-
Run 'kubectl get nodes' on control-plane to see this machine join.
468
-
```
469
-
470
-
A few seconds later, you should notice this node in the output from `kubectl get
471
-
nodes` when run on the control-plane node.
472
-
473
-
{{< note >}}
474
-
As the cluster nodes are usually initialized sequentially, the CoreDNS Pods are likely to all run
475
-
on the first control-plane node. To provide higher availability, please rebalance the CoreDNS Pods
476
-
with `kubectl -n kube-system rollout restart deployment coredns` after at least one new node is joined.
477
-
{{< /note >}}
412
+
*[Adding Linux worker nodes](/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/)
413
+
*[Adding Windows worker nodes](/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/)
478
414
479
415
### (Optional) Controlling your cluster from machines other than the control-plane node
To specify an IPv6 tuple for `<control-plane-host>:<control-plane-port>`, IPv6 address must be enclosed in square brackets, for example: `[2001:db8::101]:2073`.
37
+
{{< /note >}}
38
+
39
+
If you do not have the token, you can get it by running the following command on the control plane node:
40
+
41
+
```bash
42
+
sudo kubeadm token list
43
+
```
44
+
45
+
The output is similar to this:
46
+
47
+
```console
48
+
TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS
49
+
8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system:
50
+
signing token generated by bootstrappers:
51
+
'kubeadm init'. kubeadm:
52
+
default-node-token
53
+
```
54
+
55
+
By default, node join tokens expire after 24 hours. If you are joining a node to the cluster after the
56
+
current token has expired, you can create a new token by running the following command on the
57
+
control plane node:
58
+
59
+
```bash
60
+
sudo kubeadm token create
61
+
```
62
+
63
+
The output is similar to this:
64
+
65
+
```console
66
+
5didvk.d09sbcov8ph2amjw
67
+
```
68
+
69
+
If you don't have the value of `--discovery-token-ca-cert-hash`, you can get it by running the
0 commit comments