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 cluster lock
list of jx commands
jx step cluster lock
Locks and joins a cluster using a lock label and optional label filters
Synopsis
Locks and joins a cluster using a lock label and optional label filters.
jx step cluster lock [flags]
Examples
Options
--fake Use the fake clusters client
-f, --filter stringArray The labels of the form 'key=value' to filter the clusters to choose from
--gke-project string The GKE project name
--gke-region string The GKE project name
-h, --help help for lock
-l, --label string The label name for the lock (default "locked")
-t, --test string The name of the test to label on the cluster
--test-label string The label name for the test (default "test")
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 cluster - cluster [kind]
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)