Deploying a stateful application using Helm
In this section, we will learn about StatefulSet and how we can deploy and scale a stateful application using a Helm Chart.
Stateful applications are those applications that save the transaction data in persistent storage that will be used by the servers, clients, or by another application. A good example of a stateful application is a database or key-value store that stores the data, and that data is retrieved by another application or service. To deploy a stateful application on Kubernetes, we use the StatefulSet controller to deploy the application as a StatusfulSet object. StatefulSet is suitable for those applications that require the following things:
- Stable, persistent storage
- Stable, unique network identifiers
- Ordered, graceful deployment and scaling
- Ordered, automated rolling updates
Pods in StatefulSets are not interchangeable, meaning each and every Pod has its own unique identifier that is maintained...