Sample yamls to take backup of OpenShift cluster running on Power and upload to IBM Cloud Object Storage (COS). This is meant for demonstration and should not be used as-is for production.
This is based on work done by Richard and mentioned in the following link
There are two cronjobs
- backup-cronjob: Backup OpenShift cluster configuration every 30 minutes and keeps the backup in NFS persistent volume
- upload-cronjob: Upload the backup from NFS persistent volume to IBM Cloud Object Storage every 40 minutes and deletes the backup from the NFS persistent volume
- Update
cos-creds.yaml
with your IBM CLOUD API key - Update
backup-pv.yaml
with details of the NFS server - Update
upload-cronjob.yaml
with COS and Cluster proxy details