az aks pod-identity exception
Note
This reference is part of the aks-preview extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az aks pod-identity exception command. Learn more about extensions.
Commands to manage pod identity exceptions in managed Kubernetes cluster.
Commands
Name | Description | Type | Status |
---|---|---|---|
az aks pod-identity exception add |
Add a pod identity exception to a managed Kubernetes cluster. |
Extension | GA |
az aks pod-identity exception delete |
Remove a pod identity exception from a managed Kubernetes cluster. |
Extension | GA |
az aks pod-identity exception list |
List pod identity exceptions in a managed Kubernetes cluster. |
Extension | GA |
az aks pod-identity exception update |
Update a pod identity exception in a managed Kubernetes cluster. |
Extension | GA |
az aks pod-identity exception add
Add a pod identity exception to a managed Kubernetes cluster.
az aks pod-identity exception add --cluster-name
--namespace
--pod-labels
--resource-group
[--aks-custom-headers]
[--name]
Required Parameters
The cluster name.
The pod identity exception namespace.
Space-separated labels: key=value [key=value ...].
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Send custom headers. When specified, format should be Key1=Value1,Key2=Value2.
The pod identity exception name. Generate if not specified.
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 pod-identity exception delete
Remove a pod identity exception from a managed Kubernetes cluster.
az aks pod-identity exception delete --cluster-name
--name
--namespace
--resource-group
[--aks-custom-headers]
Required Parameters
The cluster name.
The pod identity exception name to remove.
The pod identity exception namespace to remove.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Send custom headers. When specified, format should be Key1=Value1,Key2=Value2.
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 pod-identity exception list
List pod identity exceptions in a managed Kubernetes cluster.
az aks pod-identity exception list --cluster-name
--resource-group
Required Parameters
The cluster name.
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.
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 pod-identity exception update
Update a pod identity exception in a managed Kubernetes cluster.
az aks pod-identity exception update --cluster-name
--name
--namespace
--pod-labels
--resource-group
[--aks-custom-headers]
Required Parameters
The cluster name.
The pod identity exception name to remove.
The pod identity exception namespace to remove.
Pod labels in key=value [key=value ...].
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Send custom headers. When specified, format should be Key1=Value1,Key2=Value2.
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.