Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Install Kubernetes with containerd

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon Mar 31, 2023

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    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.

  2. Challenge

    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:

    [kubernetes]
    name=Kubernetes
    baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
    
    • Next, install the three kubernetes programs.
  3. Challenge

    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.

  4. Challenge

    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.

  5. Challenge

    Check Your Kubernetes Installation

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

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans