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