jx step e2e label

list of jx commands

jx step e2e label

Removes unused e2e clusters

Synopsis

Add a label to a cluster used for e2e testing

jx step e2e label [flags]

Examples

  # Mark a cluster to not be deleted by the gc
  jx step e2e label --keep clusterName
  
  # Mark a cluster to be deleted by the gc
  jx step e2e label --delete clusterName

Options

  -d, --delete              Add a label top mark cluster for deletion
  -h, --help                help for label
  -k, --keep                Add a label top mark cluster for non deletion
  -p, --project-id string   Google Project ID to delete cluster from
      --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

Auto generated by spf13/cobra on 2-Sep-2020