CloudAcademy

Deploy a Stateful Application in a Kubernetes Cluster

The hands-on lab is part of these learning paths

Certified Kubernetes Administrator (CKA) Exam Preparation
course-steps 4 certification 2 lab-steps 5
Introduction to Kubernetes
course-steps 1 certification 1 lab-steps 2

Lab Steps

keyboard_tab
lock
Logging in to the Amazon Web Services Console
lock
Understanding the Kubernetes Cluster Architecture
lock
Connecting to the Virtual Machine using SSH with Agent Forwarding
lock
Connecting to the Kubernetes Master
lock
Deploying a Stateful Application in the Kubernetes Cluster
lock
Working with the Stateful Application
lock
Monitoring Your Kubernetes Cluster Using Kubernetes Dashboard

Ready for the real environment experience?

DifficultyAdvanced
Duration1h 30m
Students197

Description

Lab Overview

Stateful applications are applications with memory of the past. Kubernetes has achieved wide adoption for deploying stateless applications. Kubernetes also provides a rich set of features for running stateful applications. Adoption of Kubernetes for stateful applications is growing and so is the list of stateful workloads that are supported by Kubernetes. In this Lab you will deploy a stateful application in a Kubernetes cluster to understand how Kubernetes supports stateful applications.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Describe methods for deploying Kubernetes clusters in the cloud
  • Explain how Kubernetes can deploy stateful applications
  • Determine if it is a good idea to move a stateful application into Kubernetes
  • Use Kubernetes to automatically provision persistent cloud storage volumes
  • Expose Kubernetes applications via cloud load balancers
  • Monitor and manage Kubernetes clusters using the Kubernetes Dashboard

Lab Prerequisites

You should be familiar with:

  • Basic Kubernetes concepts such as pods, services, and deployments
  • AWS EBS volumes
  • Working on 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:

About the Author

Students10116
Labs67
Courses6
Learning paths3

Logan has been involved in software development and research for over eleven years, including six years in the cloud. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.

Covered Topics