Managing Kubernetes Applications with Deployments

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Deployments offer a wide range of features for automating application management. In this lab, you will put your knowledge of deployments to the test. You will use an existing deployment to scale an application, as well as perform a rolling update.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Update the App to a New Version of the Code

Perform a rolling deployment on the beebox-web deployment to deploy version 1.0.2.

Scale the App to a Larger Number of Replicas

Increase the number of replicas in the beebox-web deployment to 5.

Additional Resources

You are working for a company called BeeBox, a subscription service that ships weekly shipments of bees to customers. The company is using Kubernetes to run their infrastructure of containerized applications.

One of these applications is a simple web server. It is being managed in Kubernetes using a deployment called beebox-web. Unfortunately, there are some problems with the app, and it is performing poorly under large user load.

Two steps will need to be taken to fix this issue. First, you will need to deploy a newer version of the app (1.0.2) that contains some performance improvements from the developers. Second, you will need to scale the app deployment, increasing the number of replicas from 2 to 5.

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?