- 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.
Table of Contents
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
Scale the Application Up
Increase the number of replicas for the application to
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.