StatefulSet data consistency

Solution 1:

There is no consistency of storage between pods, because there is no replication/syncing/copying of data to begin with. This part is the responsibility of the process within a pod.

StatefulSets are intended to run pods of a distributed database or of a distributed key-value store or other clustered software that somehow replicates storage volumes. For example, Kubernetes has a tutorial for running Cassandra as a StatefulSet. If a client comes and feeds one Cassandra Pod some data, it is this pod's responsibility to talk to other Cassandra pods and make sure the data is replicated in a consistent manner (it's never trivial).