Managing Container Storage with Kubernetes Volumes

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Kubernetes volumes offer a simple way to mount external storage to containers. This lab will test your knowledge of volumes as you provide storage to some containers according to a provided specification. This will allow you to practice what you know about using Kubernetes volumes.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Pod That Outputs Data to the Host Using a Volume

One of the applications under development will be a maintenance script that needs to write data to the host’s file system.

Create a Pod that outputs some data every 5 seconds to the host’s disk in the directory /var/output.

Create a Multi-Container Pod That Shares Data Between Containers Using a Volume

Another application component includes two pieces of software that need to collaborate using shared data.

Create a multi-container Pod with a volume mounted to both containers.

Additional Resources

Your company, BeeBox, is developing some applications that have storage needs beyond the short-lived storage of the container file system. One component, a simple maintenance script, needs to be able to interact with a directory on the host file system. Another needs to be able to share data between two containers in the same Pod.

Your task is to build a simple architecture to demonstrate how these tasks can be accomplished with Kubernetes volumes. Create Pods that meet the specified criteria.

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?