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

Kubernetes and Using Pods

In this hands-on lab, you will be provided with two servers. They have been partially configured for use with Kubernetes and containerd. The cluster has been initialized, so you need to add a Node to the cluster, create an `nginx` Pod, and run the Pod. Verify successful completion by confirming the output is visible from the Nginx Pod.

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 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 visible in the /home/cloud_user folder, then you can follow along with the objectives.

  2. Challenge

    Add Your Worker Node to the Cluster

    Add your worker Node knode1 to the cluster using the information provided in the cluster-info text file, and check if it is ready for use.

  3. Challenge

    Create an Nginx Pod File

    You will create a Pod file that runs the Nginx image. Use port 80 for its output, and call the file, nginx-pod.yml.

  4. Challenge

    Create a Pod from the File You Created

    Using kubectl, create the Pod with the nginx-pod.yml file.

  5. Challenge

    Test the Pod Is Working

    Test the Pod you created is working.

    You should use the IP address associated with the Pod and check from the knode1 server.

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