Deploy a Stateless Application in a Kubernetes Cluster

Lab Steps

Logging into the Microsoft Azure Portal
Connecting to the Lab Provisioned Virtual Machine
Configuring a Kubernetes Master Node
Configuring a Kubernetes Worker Node
Deploying a Stateless Application in the Kubernetes Cluster
Cleaning Up Your Kubernetes Cluster

The hands-on lab is part of these learning paths

Building, Deploying, and Running Containers in Production
course-steps 5 certification 3 lab-steps 14 description 1
Refactoring a Monolithic .Net Application to use Cloud Services
course-steps 4 certification 2 lab-steps 6
Certified Kubernetes Administrator (CKA) Exam Preparation
course-steps 4 certification 2 lab-steps 7
Introduction to Kubernetes
course-steps 1 certification 1 lab-steps 3 description 1
more_horiz See 1 more

Ready for the real environment experience?

Time Limit1h 30m
star star star star star-half


Lab Overview

Kubernetes is a popular orchestration tool for managing containerized applications. Kubernetes is production-ready and used by enterprises around the world. With Kubernetes, you can automatically deploy, scale, rollout updates, rollback, and recover container applications. In this Lab, you will learn how to deploy a stateless application in a Kubernetes cluster that you build from the ground up using Linux virtual machines.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Set up a Kubernetes master node
  • Set up a Kubernetes worker node
  • Deploy a stateless application in a Kubernetes cluster
  • Create a Kubernetes service to allow access to the application from outside the cluster
  • Effectively manage Kubernetes clusters from the command-line

Lab Prerequisites

You should be familiar with:

  • Kubernetes concepts
  • Working at the command-line in Linux

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:



April 14th, 2020: Added a validation check function to validate students' progress

About the Author

Learning paths14

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), Linux Foundation Certified System Administrator (LFCS), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

Covered Topics