az aks pod-identity exception
Note
此参考是 Azure CLI(版本 2.73.0 或更高版本)的 aks-preview 扩展的一部分。 该扩展会在首次运行 az aks pod-identity exception 命令时自动安装。 了解更多关于扩展的信息。
用于管理托管 Kubernetes 群集中的 Pod 标识异常的命令。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az aks pod-identity exception add |
将 Pod 标识异常添加到托管 Kubernetes 群集。 |
Extension | GA |
| az aks pod-identity exception delete |
从托管 Kubernetes 群集中删除 Pod 标识异常。 |
Extension | GA |
| az aks pod-identity exception list |
列出托管 Kubernetes 群集中的 Pod 标识异常。 |
Extension | GA |
| az aks pod-identity exception update |
更新托管 Kubernetes 群集中的 Pod 标识异常。 |
Extension | GA |
az aks pod-identity exception add
将 Pod 标识异常添加到托管 Kubernetes 群集。
az aks pod-identity exception add --cluster-name
--namespace
--pod-labels
--resource-group
[--aks-custom-headers]
[--name]
必需参数
群集名称。
Pod 标识异常命名空间。
空格分隔的标签:key=value [key=value ...]。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
发送自定义标头。 指定时,格式应为 Key1=Value1,Key2=Value2。
Pod 标识异常名称。 如果未指定,则生成。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks pod-identity exception delete
从托管 Kubernetes 群集中删除 Pod 标识异常。
az aks pod-identity exception delete --cluster-name
--name
--namespace
--resource-group
[--aks-custom-headers]
必需参数
群集名称。
要删除的 Pod 标识异常名称。
要删除的 Pod 标识异常命名空间。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
发送自定义标头。 指定时,格式应为 Key1=Value1,Key2=Value2。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks pod-identity exception list
列出托管 Kubernetes 群集中的 Pod 标识异常。
az aks pod-identity exception list --cluster-name
--resource-group
必需参数
群集名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks pod-identity exception update
更新托管 Kubernetes 群集中的 Pod 标识异常。
az aks pod-identity exception update --cluster-name
--name
--namespace
--pod-labels
--resource-group
[--aks-custom-headers]
必需参数
群集名称。
要删除的 Pod 标识异常名称。
要删除的 Pod 标识异常命名空间。
key=value [key=value ...] 中的 Pod 标签。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
发送自定义标头。 指定时,格式应为 Key1=Value1,Key2=Value2。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |