tanzu feature

CLI plugin: feature | Primarily used for: Tanzu Kubernetes Grid

The tanzu feature command group manages features that are available in your target standalone management cluster. This command group includes the following commands:

To manage features that are set in the Tanzu CLI configuration, use tanzu config commands.

Usage

tanzu feature [COMMAND]

Global Flags

-h, --help

Help text.

tanzu feature activate

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

Usage

tanzu feature activate FEATURE-NAME [FLAGS]

Example

To activate my-feature that is gated by the default feature gate, tkg-system:

tanzu feature activate my-feature

To activate my-feature that is gated by the tkg-system-example feature gate:

tanzu feature activate my-feature --featuregate=tkg-system-example

Flags

-f, --featuregate

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

-h, --help

Help text.

tanzu feature deactivate

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

Usage

tanzu feature deactivate FEATURE-NAME [FLAGS]

Example

To deactivate my-feature that is gated by the default feature gate, tkg-system:

tanzu feature deactivate my-feature

To deactivate my-feature that is gated by the tkg-system-example feature gate:

tanzu feature deactivate my-feature --featuregate=tkg-system-example

Flags

-f, --featuregate

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

-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 against 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.

-o, --output

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

-u, --unavailable

List features that are not available in the cluster.

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