This site will be decommissioned on December 31st 2024. After that date content will be available at techdocs.broadcom.com.

tanzu config

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.

Usage

tanzu config [COMMAND]

Global Flags

-h, --help

Help text.

tanzu config get

Gets the current configuration of the Tanzu CLI.

Usage

tanzu config get [FLAGS]

Example

To get the current configuration:

tanzu config get

Flags

-h, --help

Help text.

tanzu config init

Initializes the default Tanzu CLI configuration.

Usage

tanzu config init [FLAGS]

Example

To initialize the default configuration:

tanzu config init

Flags

-h, --help

Help text.

tanzu config server

Manages existing servers in the Tanzu CLI configuration. For more information, see Delete Management Clusters from Your Tanzu CLI Configuration.

Commands:

tanzu config server delete

Deletes the specified server from the Tanzu CLI configuration.

Usage

tanzu config server delete SERVER-NAME [FLAGS]

Example

To delete my-server:

tanzu config server delete my-server

Flags

-h, --help

Help text.

-y, --yes

When --yes is specified, the command skips the confirmation step.

tanzu config server list

Lists the servers that the Tanzu CLI tracks.

Usage

tanzu config server list [FLAGS]

Example

To see the list of servers that the Tanzu CLI tracks:

tanzu config server list

Flags

-h, --help

Help text.

-o, --output

Output format. Supported values are yaml, json, and table.

tanzu config set

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.

Usage

tanzu config set PATH VALUE [FLAGS]

Examples

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

Flags

-h, --help

Help text.

tanzu config unset

Unsets configuration values at the specified path. Supported paths are features.global.FEATURE, features.PLUGIN.FEATURE, and env.VARIABLE.

Usage

tanzu config unset PATH [FLAGS]

Example

To unset AZURE_NODE_MACHINE_TYPE in the configuration of the Tanzu CLI:

tanzu config unset env.AZURE_NODE_MACHINE_TYPE

Flags

-h, --help

Help text.

check-circle-line exclamation-circle-line close-line
Scroll to top icon