Hands-On with StatefulSets
Explore how to deploy and manage StatefulSets in Kubernetes by understanding dynamic volume provisioning with StorageClass and headless Services. This lesson guides you through deploying each necessary object individually and adapting for various cluster environments. Gain practical skills to effectively handle stateful applications within Kubernetes.
We'll cover the following...
We'll cover the following...
In this section, we’ll deploy a working StatefulSet.
Note: The demos are designed and tested on Google Kubernetes Engine (GKE) and a local Docker cluster. If your cluster is on a different cloud, you’ll have to use a different StorageClass. We’ll tell you when to do this.
We’re about to deploy the following three objects: