Backup and restore
Backing up and restoring your SKE instance is a critical part of ensuring the availability and durability of your data. It also provides a safety net for when you need to recover from a disaster.
The backup and restore procedure will be different depending on where your Platform cluster is running. Below is the documentation for the major providers:
When restoring from a backup, keep in mind that the ordering of how the SKE objects are applied is important (the same applies for Flux and Cert Manager). The controller pods will not successfully start in the absence of their CRDs. Similarly, the resource requests will not successfully apply in the absence of the corresponding Promises.
For Velero-based backups, the right order can be enforced with the --include-resources
flag (for example, --include-resources=customresourcedefinitions
). Check the Velero Resource Filtering docs for more detailed explanation.
For GKE, it is possible to define pairs of resources that must be restored in a given order. Check the GKE docs for more details.
Ordering cannot be enforced by the Velero-backed Azure restore. Instead the restore needs to be applied more than once.