az aks command
See detail usage in 'az aks command invoke', 'az aks command result'.
Commands
Name | Description | Type | Status |
---|---|---|---|
az aks command invoke |
Run a shell command (with kubectl, helm) on your aks cluster, support attaching files as well. |
Core | GA |
az aks command result |
Fetch result from previously triggered 'aks command invoke'. |
Core | GA |
az aks command invoke
Run a shell command (with kubectl, helm) on your aks cluster, support attaching files as well.
az aks command invoke --name
--resource-group
[--command]
[--file]
[--no-wait]
Required Parameters
Name of the managed cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Command or shell script you want to run.
Files to be used by the command, use '.' to attach the current folder.
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az aks command result
Fetch result from previously triggered 'aks command invoke'.
az aks command result --name
--resource-group
[--command-id]
Required Parameters
Name of the managed cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
CommandId returned from 'aks command invoke'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.