- Lab
- A Cloud Guru
Scaling with Stateless Containers in Kubernetes
Stateless applications are a great tool to help facilitate robustness and high availability. In this lab, you will get hands-on with stateless containers. You will have the opportunity to design an application with stateless containers, and you will be able to see how easy it is to scale stateless applications in Kubernetes.
Path Info
Table of Contents
-
Challenge
Configure the App's Containers to Be Stateless
Make the container file system for the app's containers read-only.
The application needs to be able to write to
/tmp
. You will need to create an external volume to allow the application to write to this directory at runtime.You can find a deployment descriptor for the app at
/home/cloud_user/pirate-day.yml
. -
Challenge
Scale the Application Up
Increase the number of replicas for the application to
5
.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.