hands-on lab

Deploy a Stateless Application in a Kubernetes Cluster

Up to 45m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

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 


June 13th, 2023 - Updated Kubernetes version

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
Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Learning paths

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.

LinkedIn, Twitter, GitHub

Covered topics
Lab steps
Connecting to the Kubernetes Cluster
Deploying a Stateless Application in the Kubernetes Cluster
Cleaning Up Your Kubernetes Cluster