tanzu feature

Manages features that are available in your target standalone management cluster. To manage features that are set in the Tanzu CLI configuration, use tanzu config commands.

Usage

CLI plugin: feature | Target: kubernetes | Release Notes

Syntax:

tanzu feature [COMMAND]

Global Flags

-h, --help

Help text.

tanzu feature activate

Activates the specified feature. Run this command on the target management cluster.

Usage

tanzu feature activate FEATURE-NAME [FLAGS]

Example

To activate my-feature:

tanzu feature activate my-feature

Flags

-h, --help

Help text.

--permanentlyVoidAllSupportGuarantees

Permanently voids all support guarantees for the current environment. This is required if you want to activate an experimental feature in your environment. Once set to true, this flag cannot be set back to false.

tanzu feature deactivate

Deactivates the specified feature. Run this command on the target management cluster.

Usage

tanzu feature deactivate FEATURE-NAME [FLAGS]

Example

To deactivate my-feature:

tanzu feature deactivate my-feature

Flags

-h, --help

Help text.

tanzu feature list

Lists features that are gated by the tkg-system feature gate or the feature gate that you specify with the --featuregate flag. Run this command on the target management cluster.

Usage

tanzu feature list [FLAGS]

Examples

To list features that are gated by the default feature gate, tkg-system:

tanzu feature list

To list features that are gated by a non-default feature gate, for example, tkg-system-example:

tanzu feature list --featuregate=tkg-system-example

Flags

-a, --activated

Lists activated features.

-d, --deactivated

Lists deactivated features.

-e, --extended

Includes extended output.

-f, --featuregate

The name of the feature gate. The default is set to tkg-system. Omit --featuregate if you are targeting the tkg-system feature gate. To list all available feature gates in the cluster, run kubectl get featuregates.

-h, --help

Help text.

-x, --include-experimental

Includes experimental features.

-o, --output

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

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