Use the clustergroup
plug-in to bring your Kubernetes clusters together, organize them, and manage them consistently.
tanzu plugin install clustergroup --target mission-control
tanzu mission-control clustergroup [command]
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.
tanzu mission-control clustergroup create [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.
tanzu mission-control clustergroup delete CLUSTERGROUP_NAME [flags]
get
Get a cluster group.
tanzu mission-control clustergroup get CLUSTERGROUP_NAME [flags]
-o, --output string Output format (yaml | json) (default "yaml")
list
List cluster groups.
tanzu mission-control clustergroup list [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
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
tanzu mission-control clustergroup template [command]
get Get Template for clustergroup
list List Templates for clustergroup
template get
Get template for cluster group.
tanzu mission-control clustergroup template get TEMPLATE_NAME [flags]
template list
List templates for cluster group.
tanzu mission-control clustergroup template list [flags]
update
Update (overwrite) a cluster group.
tanzu mission-control clustergroup update [flags]
-f, --file string resource file from which to update the cluster group