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

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