Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EliFuzz/37fdf2f208e34a25389832e2effc504c to your computer and use it in GitHub Desktop.
Save EliFuzz/37fdf2f208e34a25389832e2effc504c to your computer and use it in GitHub Desktop.
Table Overview: Kubernetes StatefulSet Level
Type Definition Characteristics Use Cases Best Practices
StatefulSet Snapshots Captures the state of a StatefulSet at a particular point in time, allowing users to restore the set to a previous state if necessary. Snapshots are particularly useful during upgrades or rollbacks, ensuring minimal downtime and data loss - Captures the state of a StatefulSet at a specific point in time
- Enables restoration of a StatefulSet to a previous state
- Minimizes downtime and data loss during upgrades or rollbackss
- Upgrade/rollback scenarios: Snapshots facilitate zero-downtime upgrades or rollbacks of StatefulSets
- Disaster recovery: Snapshots serve as backups for StatefulSets, enabling quick recovery in case of disasters
- Compliance: Snapshots can assist in meeting compliance requirements by preserving the state of a StatefulSet at specific intervals
- Take regular snapshots of StatefulSets, especially before major upgrades or changes
- Test snapshot/restore processes regularly to ensure proper functioning
- Consider automating snapshot creation and retention policies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment