This operator is intended to automate deletion of giant swarm workload test clusters. By default your cluster will be deleted after default TTL is reached (4 hours).
To prevent your cluster from being deleted you can set one of two annotations.
- Your cluster wont' be deleted until you remove the annotation:
annotations:
alpha.giantswarm.io/ignore-cluster-deletion: "true"
- Your cluster will be deleted after the date you've set expired.
labels:
keep-until: "2022-02-01"
The operator exposes a couple of prometheus metrics.
deletion_ignored_total
: the number of all ignored cluster deletion.deletion_pending_total
: the number of all pending cluster deletion.deletion_errors_total
: the number of all failed cluster deletion.deletion_succeeded_total
: the number of all clusters that were deleted successfully.