Discover Packages
github.com/giantswarm/cluster-cleaner
command
module
Version:
v0.10.1
Opens a new window with list of versions in this module.
Published: Jul 2, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
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.
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"
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.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
util
record
Package record implements recording functionality.
Package record implements recording functionality.
Click to show internal directories.
Click to hide internal directories.