Current Status
Not Enrolled
Get Started
Lab 2

Build a Kubernetes Application

Novices | ~ 1 hour

Learn about building an application in Kubernetes

  • How to build container images
  • Running your application on Kubernetes
  • Tools to improve your workflow
  • Kubestr overview
KubeCon + CloudNativeCon NA 2021

Oct 11th – 15th

KubeCon + CloudNativeCon NA 2021

Complete Lab 2 and Get $10 Gift Card* 


Read Blog

Building a Kubernetes application

Thomas Keenan • Instructor • Mentor • Contributor
Watch Video
Lab 2 Video Overview
Review Slides
Lab 2 Slides

Hands-On Lab #2

Build a Kubernetes Application

Ratings and Reviews

Avg. Rating
72 Ratings
What's your experience? We'd love to know!
Mihaly Balassy
Posted 2 days ago
Great course on Kubernetes Applications

Header of the website is a bit too big have to scroll each time to view the whole challange.

Preview Image
Suman S
Posted 2 days ago
Learnt the horizontal scaling commands

In this lab, learnt the storage concepts related to K8s, deploying a full-stack application and scaling it and the kubestr tool.

Preview Image
Manisha Agarwal
Posted 2 days ago
Great Lab

Enjoyed the lab

Preview Image
Raghavendra K
Posted 2 days ago
Lab2 of Kasten

Excellent Videos are very intuitive and ease to follow

Preview Image
Ross Carvalho
Posted 2 days ago
Really Good content

Really Good content

Preview Image
Prasetyo B
Posted 2 days ago
Nice lab

I found this hands-on lab very useful and easy to use. Good job!

Preview Image
Lang Mach
Posted 2 days ago
Very good lab to learn about application/database in kubernetes

I wish I can keep the setup and create more apps

Preview Image
Revathi M R
Posted 2 days ago
Amazing course content

Amazing course content

Preview Image
Tyron Badenhorst
Posted 2 days ago

Love It

Preview Image
Abhay Jha
Posted 2 days ago
As a beginner, its great

Enjoyed it.

Preview Image
Show more reviews
What's your experience? We'd love to know!

* One gift card will be awarded per person, per lab completed, while supplies last. Labs must be completed for the first time during KubeCon + CloudNativeCon NA 2021 October 11-15 to be eligible for this reward.

Follow Us
By subscribing, you agree to receive communications about Kasten by Veeam products, services and events. Your personal data will be managed by Kasten by Veeam in accordance with the Privacy Policy. You can unsubscribe at any time.
© 2021 | Privacy Policy & Cookies | EULA


Share on facebook
Share on twitter
Share on linkedin

Lab 2  background

This lab is for those who are new to building applications to run on Kubernetes or want a refresher. It covers:

  • How to build container images
  • How to run your application directly and locally on Kubernetes
  • Tools you can use to improve your workflow
  • How to manage manifests for deployment.
  • Kubestr, an open source collection of tools to discover, validate and evaluate your Kubernetes storage options.

Is there pre-work for the lab?

Yes. Be sure to complete reading and studying this blog, the video description of the work to be performed during the lab, and the accompanying slides.

What is the structure of the lab?

The lab consists of two sections, both of which are approximately 40 minutes long.  Your time may vary, depending on how quickly you pass either section.

Section 1 — Applications Background

This section will cover background topics and terminology for the relevance and use of applications in the Kubernetes world. Each topic will provide some review material on screen first, then pose a challenge question. You must answer the question correctly to proceed to the next section. You’ll learn:

  • The what how and why of container images
  • How containers relate to applications
  • Stateless applications
    • Short term apps that do not retain data regarding a transaction - (e.g. print services, microservices)
  • Stateful applications
    • Applications that typically use a database (e.g. MySQL) and process a read/write and thus retain information regarding each transaction involved
  • Options for running applications locally/remotely/other
  • Tools to help you build an application
  • What’s involved in managing manifests

Section 2 — Hands-on Commands - Build an application

This section will cover Kubernetes keyboard commands needed to set up and scale an application in Kubernetes. Specific commands covered include:

  • Discovering K8s storage
    • Kubectl get storage class
  • Choosing a data  service- MySql (stateful data services and volume focus)
    • Applying  use case (PetClinic) for MySql
  • Installing the app
  • Exploring the app
  • Using it as a service to expose the app
  • Running multiple instances of the app
  • Scaling your app
  • Performing a rolling update
  • Adding data
  • Exploring persistent volume/ volume claim

In the more advanced section of the hands-on portion, you’ll learn how to install Kubestr,  an open source collection of tools to discover, validate and evaluate your Kubernetes storage options. Kubestr can:

  • Identify various storage options present in a cluster
  • Validate if storage options are configured correctly
  • Evaluate storage using common benchmarking tools such as FIO

Here’s a summary of the steps we’ll take as we install Kubester during the lab:

1) Install Kubestr

  • Ensure that the Kubernetes context is set and the cluster is accessible through your terminal. (Does kubectl work?)
  • Download the latest release here.
  • Unpack the tool and make it an executable chmod +x kubestr.

2) Discover available storage options:

  • Run ./kubestr

3) Run an FIO test:

  • Run ./kubestr fio -s <storage class>
  • Additional options like —size and —fiofile can be specified.
  • For more information visit our fio page.

4) Check a CSI drivers snapshot and restore capabilities:

  • Run ./kubestr csicheck -s <storage class> -v <volume snapshot class>

5) Install another storage class and use Kubestr to compare the two (GCP storage classes).

6) Link to the Application Transformation lab later to produce a sequence/template.

How do I access Lab 2?

Go to to start your learning journey! Remember: you can pause during the lab and return to the same spot without losing your place.

All the best, enjoy!

Kasten K10 free now

Kasten K10

For help with please email

Connect with other users and Kasten support on Kasten’s Learning Slack Channel.

We use cookies on our site to give you the best experience possible. By continuing to browse the site, you agree to this use. For more information on how we use cookies, see our Privacy Policy.