A StatefulSet manages replicated Pods for stateful applications, preserving stable Pod identities and associating each Pod with persistent storage. Its deployment specification is organized alongside Services, PersistentVolumes, and PersistentVolumeClaims. section 15.4.3
A StatefulSet deployment commonly coordinates:
- Pods deployed from an image generated by a VM migration. section 15.4.3
- PersistentVolumes that provide durable storage. section 15.4.3
- PersistentVolumeClaims that request storage size and access mode. section 15.4.3
- A Service that provides network access, optionally through a LoadBalancer. section 15.4.3
Migrating a stateful application
A Migrate for Anthos deployment_spec.yaml can define a StatefulSet for a migrated VM image, persistent storage resources, a Service, and logging configuration. Applying the generated specification deploys the application into the cluster. section 15.4.3



