Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.27 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.27 KB

CircleCI

cluster-cleaner

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).

how to prevent cluster from being deleted

To prevent your cluster from being deleted you can set one of two annotations.

  1. Your cluster wont' be deleted until you remove the annotation:
annotations:
  alpha.giantswarm.io/ignore-cluster-deletion: "true"
  1. Your cluster will be deleted after the date you've set expired.
labels:
	keep-until: "2022-02-01"

observability

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.

flow diagram (edit link)