Install Kubernetes with containerd

45 minutes
  • 5 Learning Objectives

About this Hands-on Lab

In this lab, you will install Kubernetes and configure it to use containerd. You will be provided with one server. On this server, you will install and configure Kubernetes and configure it to use containerd for container management.

You will not be required to create a cluster. Having the software installed and ready for use as a cluster controller will be sufficient.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Log In to the Provided Server

Log in to the server as cloud_user with the provided password to ensure you can log in. When the file SERVER-READY is shown in the /home/cloud_user folder, then you can follow along with the tasks.

Add the Kubernetes Repository and Install Kubernetes
  • Your task for this objective is to install the Kubernetes repository, and then install Kubernetes.

  • You will use whatever system commands are required.

  • The repository file should be called /etc/yum.repos.d/kubernetes.repo.

  • The contents of the repo should be:

  • Next, install the three kubernetes programs.
Add the Repository for containerd, Replace the Configuration File, and Install It
  • Your task for this objective is to add the Docker repository for containerd. Then, install Jenkins.

  • You will use whatever system commands are required.

  • Access the containerd repo.

  • You should replace the config.toml file with a new default containerd configuration.

Enable and Start containerd and kubelet
  • Using the required commands, enable and start containerd. Be sure to configure containerd to start automatically on a reboot.

  • Next, enable and start kubelet. Be sure to configure kubelet to start automatically on a reboot.

Check Your Kubernetes Installation

You should check that Kubernetes is installed and containerd is working by using the kubeadm config images pull command.

Additional Resources


You have been told that you don’t need to install Docker to use Kubernetes. You checked this and found out that you can use containerd instead of a full docker installation. You have decided to prove that you can use containerd and Kubernetes.

You have a single server you can use for this task, so you have decided to test if it can be installed.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?