System commands | Primarily used for: Tanzu CLI
The tanzu config
command group configures the Tanzu CLI. This command group includes the following commands:
To manage features that are available in your target standalone management cluster, use tanzu feature
commands.
tanzu config [COMMAND]
-h, --help
Help text.
Gets the current configuration of the Tanzu CLI.
tanzu config get [FLAGS]
To get the current configuration:
tanzu config get
-h, --help
Help text.
Initializes the default Tanzu CLI configuration.
tanzu config init [FLAGS]
To initialize the default configuration:
tanzu config init
-h, --help
Help text.
Manages existing servers in the Tanzu CLI configuration. For more information, see Delete Management Clusters from Your Tanzu CLI Configuration.
Commands:
Deletes the specified server from the Tanzu CLI configuration.
tanzu config server delete SERVER-NAME [FLAGS]
To delete my-server
:
tanzu config server delete my-server
-h, --help
Help text.
-y, --yes
When --yes
is specified, the command skips the confirmation step.
Lists the servers that the Tanzu CLI tracks.
tanzu config server list [FLAGS]
To see the list of servers that the Tanzu CLI tracks:
tanzu config server list
-h, --help
Help text.
-o, --output
Output format. Supported values are yaml
, json
, and table
.
Sets the value for the specified path. Supported paths are edition
, env.VARIABLE
, features.global.FEATURE
, features.PLUGIN.FEATURE
, and unstable-versions
. For more information, see Tanzu CLI Configuration.
tanzu config set PATH VALUE [FLAGS]
To set AZURE_NODE_MACHINE_TYPE
to Standard_D2s_v3
in the configuration of the Tanzu CLI:
tanzu config set env.AZURE_NODE_MACHINE_TYPE Standard_D2s_v3
To enable the dual-stack-ipv4-primary
feature for the cluster
plugin:
tanzu config set features.cluster.dual-stack-ipv4-primary true
-h, --help
Help text.
Unsets configuration values at the specified path. Supported paths are features.global.FEATURE
, features.PLUGIN.FEATURE
, and env.VARIABLE
.
tanzu config unset PATH [FLAGS]
To unset AZURE_NODE_MACHINE_TYPE
in the configuration of the Tanzu CLI:
tanzu config unset env.AZURE_NODE_MACHINE_TYPE
-h, --help
Help text.