tanzu operations clustergroup

Use the clustergroup plug-in to bring your Kubernetes clusters together, organize them, and manage them consistently.

Installation

tanzu plugin install clustergroup --target operations 

Usage

CLI plugin: clustergroup | Target: operations | Release Notes

tanzu operations clustergroup [command]

Commands

  create        Create a clustergroup
  delete        Delete a clustergroup
  get           Get a clustergroup
  list          List clustergroups
  template      Clustergroup template
  update        Update (overwrite) a cluster group
  use           use a specific clustergroup

Global Flags

  -h, --help   help for clustergroup command

create

Create a cluster group.

Usage

tanzu operations clustergroup create [flags]

Flags

  -v, --data-values-file string   data values file to use
      --dry-run                   create the data model only, do not apply to server
  -f, --file string               Resource file from which to create a ClusterGroup
  -t, --template string           template to use (default "default")

delete

Delete a cluster group.

Usage

tanzu operations clustergroup delete CLUSTERGROUP_NAME [flags]

get

Get a cluster group.

Usage

tanzu operations clustergroup get CLUSTERGROUP_NAME [flags]

Flags

  -o, --output string   Output format (yaml | json) (default "yaml")

list

List cluster groups.

Usage

tanzu operations clustergroup list [flags]

Flags

      --integration string   scope search to the specified integration
      --max-size uint        Number of records to return
      --name string          scope search to the specified name (default "*")
      --offset uint          Offset at which to start returning records
  -o, --output string        Output format (yaml|json)
  -q, --query string         TQL to query the stores

Examples

To list all clustergroups and filter by label foo=bar:

tanzu operations clustergroup list -q meta.labels.foo=bar

To list all clustergroups and filter by label foo=*:

tanzu operations clustergroup list -q "meta.labels.foo=*"

To list all clustergroups and filter by label foo=* and fizz=buzz:

tanzu operations clustergroup list -q "meta.labels.foo=* AND meta.labels.fizz=buzz"

To list all clustergroups and filter by description matching ‘Default cluster group’:

tanzu operations clustergroup list -q "meta.description='Default cluster group'"

template

clustergroup template

Usage

tanzu operations clustergroup template [command]

Commands

  get         Get Template for clustergroup
  list        List Templates for clustergroup

template get

Get template for cluster group.

Usage

  tanzu operations clustergroup template get TEMPLATE_NAME [flags]

template list

List templates for cluster group.

Usage

  tanzu operations clustergroup template list [flags]

update

Update (overwrite) a cluster group.

Usage

  tanzu operations clustergroup update [flags]

Flags

  -f, --file string   resource file from which to update the cluster group

use

Use a specific clustergroup.

Usage

  tanzu operations clustergroup use CLUSTERGROUP_NAME [flags]

Flags

  -f, --file string   resource file from which to update the cluster group
check-circle-line exclamation-circle-line close-line
Scroll to top icon