StatefulSet manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods, suitable for applications that require one or more of the following.
In this Chapter, we will review how to deploy a MySQL database using StatefulSet
and Amazon Elastic Block Store
(EBS) as PersistentVolume. The example is a MySQL single leader topology with a follower running asynchronous replication.