Recreate
Backup¶
- Run
backup-pvcs
in cluster's directory. - Perform application specific backup for the applications considered critical
- baikal
- home-assistant
- linkace
Destroy¶
Run buvisctl destroy
in cluster's directory. It may fail if providers versions were updated since the cluster creation. In that case, run terraform init -upgrade
in infrastructure/terraform
directory and try again.
Bootstrap¶
- Set workstation's DNS to 1.1.1.1, because Blocky isn't running
- Make sure that GitHub PAT (stored in GITHUB_TOKEN environment variable) is still valid, and update it eventually
- Run
buvisctl bootstrap
in cluster's directory. - Wait for the bootstrap to finish. It may take a while, because it will download all images and install all applications.
- Really, be patient, wait for no new workloads being created.
- Check status of kustomizations with
flux get ks -A
. If there are any errors, fix them. - Check status of helmreleases with
flux get hr -A
. If there are any errors, fix them. - if helmrelease's resources started after it reached timeout, you can run
flux reconcile hr -n <NAMESPACE> <RELEASE>
to retry - if the helmrelease is still not ready, restart:
flux suspend hr -n <NAMESPACE> <RELEASE>
and thenflux resume hr -n <NAMESPACE> <RELEASE>
- as the last resort, you can delete the helmrelease and let Flux recreate it:
flux delete hr -n <NAMESPACE> <RELEASE>
Restore storage¶
- Run
recreate-backup-jobs
in cluster's directory. - Run
restore-pvcs
in cluster's directory.
Recreate Authentik outpost¶
Run trigger-outpost-creation
in cluster's directory.