From the course: Certified Kubernetes Administrator (CKA) Cert Prep
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Using kubeadm init - Kubernetes Tutorial
From the course: Certified Kubernetes Administrator (CKA) Cert Prep
Using kubeadm init
- Okay, now that we have done all preparation, we are ready for the real work, which is kubeadm init. So kubeadm is a command that you will always use with root privileges, and kubeadm init is only done on the control node, and that is because kubeadm init is setting up the cluster, and you are going to join the other nodes to the cluster that kubeadm init creates. While using kubeadm init to set up the cluster, different arguments can be used to further define the cluster, like --apiserver-advertise-address, that's the IP address on which the API server is listening, or --config, which is the name of a configuration file that is used for additional configuration, or --dry-run, which performs a dry run before actually installing for real, so that you can check if you meet all conditions required to install the cluster. - -pod-network-cidr allows you to set the CIDR that is used for the Pod network. That's a network address, and that is useful if you want to install in some specific…
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)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-