hands-on lab

Deploy a Stateless Application in a Kubernetes Cluster on Azure

Difficulty: Intermediate
Duration: Up to 1 hour and 30 minutes
Students: 42
Rating: 5/5
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.

Description

Note

This is an outdated lab, view the newer version of the lab hosted on AWS

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:

 

 

Updates

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

Lab steps

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