WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx step e2e gc
list of jx commands
jx step e2e gc
Removes unused e2e clusters
Synopsis
This pipeline step removes stale E2E test clusters
jx step e2e gc [flags]
Examples
# delete stale E2E test clusters
jx step e2e gc
Options
-d, --duration int How many hours old a cluster should be before it is deleted if it does not have a --delete tag (default 2)
-h, --help help for gc
-p, --project-id string Google Project ID to delete cluster from
--providers stringArray The providers to run the cleanup for (default [gke])
--region string GKE region to use. Default: europe-west1-c (default "europe-west1-c")
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx step e2e - e2e [command]
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)