Κοινή χρήση μέσω


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

--cluster-name

The cluster name.

--namespace

The pod identity exception namespace.

--pod-labels

Space-separated labels: key=value [key=value ...].

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--aks-custom-headers

Send custom headers. When specified, format should be Key1=Value1,Key2=Value2.

--name -n

The pod identity exception name. Generate if not specified.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--cluster-name

The cluster name.

--name -n

The pod identity exception name to remove.

--namespace

The pod identity exception namespace to remove.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--aks-custom-headers

Send custom headers. When specified, format should be Key1=Value1,Key2=Value2.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--cluster-name

The cluster name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--cluster-name

The cluster name.

--name -n

The pod identity exception name to remove.

--namespace

The pod identity exception namespace to remove.

--pod-labels

Pod labels in key=value [key=value ...].

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--aks-custom-headers

Send custom headers. When specified, format should be Key1=Value1,Key2=Value2.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.