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

Create a Cluster Using kubectl

In this lab, you will be provided two servers. They have been partially configured for use with Kubernetes and containerd. You will need to initialize a Kubernetes cluster, add a network plugin, and add a Node to the cluster.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
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 Servers

    Log in to the servers 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

    Initialize the Cluster and Set Up Your User

    • Use the relevant command to initialize the cluster. The network you should use is 172.16.0.0/16.

    • To set up your user, you will need to use the information output from the kubeadm init command that was run previously.

  3. Challenge

    Add a Network Plugin for Use

    Apply the network plugin called Calico. The URL to use is https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico.yaml.

  4. Challenge

    Add the Worker Node to the Cluster

    Add your worker node to the cluster. You will need to use the information output from the kubeadm init command that was run previously.

  5. Challenge

    Test the Worker Node Has Been Added

    Test the worker Node has been added. You can use the kubectl get nodes 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