From the course: Certified Kubernetes Administrator (CKA) Cert Prep
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Adding nodes to the cluster - Kubernetes Tutorial
From the course: Certified Kubernetes Administrator (CKA) Cert Prep
Adding nodes to the cluster
- Okay, the final step in setting up the cluster is to add nodes to the cluster. Before you are adding nodes, make sure that the node name is set to what you want to use, because this node name will be hard coded. And if later you think, oh, I need a different node name, it's very difficult to add. The only option is to remove the node and add the node again. And that's too much work. Now, when the Kubernetes cluster is initialized, a joint token is generated, and you will see this joint token on screen. And you can use this joint token to join other nodes using sudo kubeadm join from the hosts that you want to join. Best thing to do is just copy paste the sudo kubeadm join command from the output of kubeadm in it. And in case a joint token is lost or expired, you can generate a new one using sudo kubeadm token create -- print-join-command. Now let me demonstrate how this works. So we will need to investigate the information on the control node, and then on the other nodes, we can…
Contents
-
-
-
-
(Locked)
Learning objectives46s
-
Understanding cluster node requirements2m 24s
-
(Locked)
Provisioning an infrastructure for hosting Kubernetes1m 44s
-
(Locked)
Installation procedure overview1m 20s
-
(Locked)
Configuring Linux kernel settings for Kubernetes networking2m 40s
-
(Locked)
Installing Container Runtime Interface (CRI) and tools4m 53s
-
(Locked)
Using kubeadm init6m
-
(Locked)
Configuring the Kubernetes client7m 47s
-
(Locked)
Setting up node networking5m 13s
-
(Locked)
Adding nodes to the cluster2m 54s
-
(Locked)
Using kubeadm init with a configuration file3m 56s
-
(Locked)
Lesson 2 lab challenge: Building a Kubernetes cluster31s
-
(Locked)
Lesson 2 lab solution: Building a Kubernetes cluster6m 4s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-