cluster-cleaner

command module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
util
record
Package record implements recording functionality.
Package record implements recording functionality.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL