clustergroup

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

Installation

tanzu plugin install clustergroup --target mission-control 

Usage

tanzu mission-control 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

create

Create a cluster group.

Usage

tanzu mission-control 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 mission-control clustergroup delete CLUSTERGROUP_NAME [flags]

get

Get a cluster group.

Usage

tanzu mission-control clustergroup get CLUSTERGROUP_NAME [flags]

Flags

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

list

List cluster groups.

Usage

tanzu mission-control clustergroup list [flags]

Flags

      --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 mission-control clustergroup list -q meta.labels.foo=bar

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

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

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

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

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

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

template

clustergroup template

Usage

tanzu mission-control clustergroup template [command]

Commands

  get         Get Template for clustergroup
  list        List Templates for clustergroup

template get

Get template for cluster group.

Usage

  tanzu mission-control clustergroup template get TEMPLATE_NAME [flags]

template list

List templates for cluster group.

Usage

  tanzu mission-control clustergroup template list [flags]

update

Update (overwrite) a cluster group.

Usage

  tanzu mission-control clustergroup update [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