az vme
Note
This reference is part of the vme extension for the Azure CLI (version 2.70.0 or higher). The extension will automatically install the first time you run an az vme command. Learn more about extensions.
Commands to manage version managed extensions on connected kubernetes clusters.
Commands
Name | Description | Type | Status |
---|---|---|---|
az vme install |
Install version managed extensions. |
Extension | GA |
az vme list |
List version managed extensions. |
Extension | GA |
az vme uninstall |
Uninstall version managed extensions. |
Extension | GA |
az vme upgrade |
Check version managed extensions' upgrade status. |
Extension | GA |
az vme install
Install version managed extensions.
az vme install --cluster-name
--include {all, microsoft.arc.containerstorage, microsoft.azure.secretstore}
--resource-group
[--kube-config]
[--kube-context]
Examples
Install all version managed extensions
az vme install --resource-group my-resource-group --cluster-name my-cluster --include all
Install specific version managed extension
az vme install --resource-group my-resource-group --cluster-name my-cluster --include microsoft.azure.secretstore
Enable feature flag and then install specific version managed extension
az vme install --resource-group my-resource-group --cluster-name my-cluster --include microsoft.arc.containerstorage --kube-config /path/to/kubeconfig.yaml --kube-context my-context
Required Parameters
Name of the Kubernetes cluster.
Extension types to be installed.
Property | Value |
---|---|
Accepted values: | all, microsoft.arc.containerstorage, microsoft.azure.secretstore |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Path to the kube config file. Optional if the cluster has the feature flag enabled or the current Kubernetes config/context is set to this cluster.
Kube context from current machine. Optional if the cluster has the feature flag enabled or the current Kubernetes config/context is set to this cluster.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az vme list
List version managed extensions.
az vme list --cluster-name
--resource-group
Examples
List version managed extensions
az vme list --resource-group my-resource-group --cluster-name my-cluster
List version managed extensions with table format
az vme list --resource-group my-resource-group --cluster-name my-cluster --output table
Required Parameters
Name of the Kubernetes cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az vme uninstall
Uninstall version managed extensions.
az vme uninstall --cluster-name
--include {all, microsoft.arc.containerstorage, microsoft.azure.secretstore}
--resource-group
[--force]
Examples
Uninstall all version managed extensions
az vme uninstall --resource-group my-resource-group --cluster-name my-cluster --include all
Uninstall specific version managed extension
az vme uninstall --resource-group my-resource-group --cluster-name my-cluster --include microsoft.azure.secretstore
Required Parameters
Name of the Kubernetes cluster.
Extension types to be uninstalled.
Property | Value |
---|---|
Accepted values: | all, microsoft.arc.containerstorage, microsoft.azure.secretstore |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Specify whether to force delete the extension from the cluster.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az vme upgrade
Check version managed extensions' upgrade status.
az vme upgrade --cluster-name
--resource-group
[--kube-config]
[--kube-context]
[--timeout]
[--wait]
Examples
Check version managed extensions' upgrade status
az vme upgrade --resource-group my-resource-group --cluster-name my-cluster --wait
Required Parameters
Name of the Kubernetes cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Path to the kube config file. Optional if the cluster has the feature flag enabled or the current Kubernetes config/context is set to this cluster.
Kube context from current machine. Optional if the cluster has the feature flag enabled or the current Kubernetes config/context is set to this cluster.
Time required (in seconds) for the bundle upgrade to finish.
Property | Value |
---|---|
Default value: | 3600 |
Wait for the bundle upgrade to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |