Deploy a Stateless Application in a Kubernetes Cluster

Lab Steps

Connecting to the Kubernetes Cluster
Deploying a Stateless Application in the Kubernetes Cluster
Cleaning Up Your Kubernetes Cluster

Ready for the real environment experience?

Time Limit45m


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.

Lab Objectives

Upon completion of this Lab you will be able to:

  • 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 


October 31st, 2022: Updated lab to use Kubernetes 1.24, removed creating the cluster from scratch which is covered in this lab (the older lab using Azure is available but no longer maintained)

May 18th, 2021: Resolved an issue with missing Kubernetes CLI on Worker node

May 9th, 2020: Resolved an issue preventing package installations in the Azure Red Hat VMs 

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

About the Author
Learning paths49

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 Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.