hack

command
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

This script cleans up all GKE clusters that could be potentially orphaned by our tests (e.g. unexpected crash that didn't allow a test's teardown to be completed correctly). It's meant to be installed as a cronjob and run repeatedly throughout the day to catch any orphaned clusters: however tests should be trying to delete the clusters they create themselves.

A cluster is considered orphaned when all conditions are satisfied: 1. Its name begins with a predefined prefix (`gke-e2e-`). 2. It was created more than 1h ago.

Directories

Path Synopsis
generators

Jump to

Keyboard shortcuts

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