Re:MySQL InnoDB Cluster GA
by cookiecaper on Wednesday April 12, 2017 @04:09PM
(#14101265)
Although not immediately destroying data on exit is important, stateful applications have other important requirements. StatefulSets are the Kubernetes feature intended to address some of them, but it is not yet marked stable.
The primitives currently included in Kubernetes are mostly geared towards scheduling containerized services onto multiple machines in order to achieve a desired state, but it's only that containerization that has the stateless/ephemeral connotation. Kubernetes is perfectly capable of handling stateful storage and it's as simple as mounting a storage volume: https://kubernetes.io/docs/concepts/storage/persistent-volum...