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.
Configuring a highly available Kubernetes cluster - Kubernetes Tutorial
From the course: Certified Kubernetes Administrator (CKA) Cert Prep
Configuring a highly available Kubernetes cluster
- All right, it's task one, you are going to create a high availability cluster with three control nodes and two worker nodes. Ensure that each control play node can be used as a client as well, and use the scripts that are provided in the course Git repository to install CRI, kubetools, as well as the load balancer. Also warmly recommended, set up a passwordless sudo and configure some SSH keys on one of the control nodes, so that you can easily SSH into the other control nodes. Let's do it. So let's start with the git clone on all of them. We need to git clone to get access to the course Git repository, which has these setup scripts. All right, after cloning the Git repository, it's recommended to set up sudo without passwords. Otherwise, in a script that sets up the load balancer, you will be entering the password many, many times. So on all host, sudo visudo. Look for the line that starts %sudo, it's near the bottom, and change the last ALL so that it reads NOPASSWD: ALL. And…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives40s
-
(Locked)
Questions overview3m 58s
-
(Locked)
Configuring a highly available Kubernetes cluster9m 17s
-
(Locked)
Scheduling a Pod5m 22s
-
(Locked)
Managing application initialization2m 52s
-
(Locked)
Setting up persistent storage1m 55s
-
(Locked)
Configuring application access2m 57s
-
(Locked)
Securing network traffic8m 31s
-
(Locked)
Setting up a quota5m 46s
-
(Locked)
Creating a static Pod2m 6s
-
(Locked)
Troubleshooting node services1m 40s
-
(Locked)
Configuring cluster access5m 50s
-
(Locked)
Configuring taints and tolerations5m 9s
-
(Locked)
-
-