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

Using Pod Management Resources in Kubernetes

Kubernetes resources allow you to define the desired state for containerized workloads in a Kubernetes cluster. In this lab, you will have the opportunity to test your knowledge of the various ways to run these workloads. You will need to select the appropriate resource for each use case and use it to run Pods in the cluster.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon May 19, 2022

Contact sales

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

Table of Contents

  1. Challenge

    Run a Collection of Pods That Can Be Updated with Zero Downtime

    We have a web application that needs multiple instances for reliability. These instances need to be able to scale easily, and we need to be able to roll out code changes with zero downtime. Luckily, the application itself is stateless, which should make this a bit easier.

    Create an object called web in the default Namespace to manage this workload. You will need to determine the proper object type to use. Provide 3 replicas of the application. For now, you can just the nginx:stable image.

  2. Challenge

    Run a Collection of Stateful Pods That Need a Sticky Identity

    We have another web application that is a little older. Unfortunately, it was built in a stateful fashion, and we haven't had a chance to refactor it yet. This application will need to have a sticky identity, such as a fixed order and the sticky Pod names for all of its replicas.

    Create an object called legacy in the default Namespace to run this workload, using whatever object type you think is appropriate given these requirements. It should have 5 replicas and use the nginx:stable image.

  3. Challenge

    Run a Containerized Task on a Schedule

    Our final workload is a data cleanup task. It needs to run to completion once every minute.

    Create an object called data-cleanup in the default Namespace. Once again, use the object type that you feel best meets the stated requirements. Use the busybox:stable image to run the command date once every minute.

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