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.
CLI plugin: feature
| Target: kubernetes
| Release Notes
Syntax:
tanzu feature [COMMAND]
-h, --help
Help text.
Activates the specified feature. Run this command on the target management cluster.
tanzu feature activate FEATURE-NAME [FLAGS]
To activate my-feature
:
tanzu feature activate my-feature
-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
.
Deactivates the specified feature. Run this command on the target management cluster.
tanzu feature deactivate FEATURE-NAME [FLAGS]
To deactivate my-feature
:
tanzu feature deactivate my-feature
-h, --help
Help text.
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.
tanzu feature list [FLAGS]
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
-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
.