你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
az aks check-network
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 check-network command. Learn more about extensions.
Commands to troubleshoot network connectivity in managed Kubernetes cluster.
Commands
Name | Description | Type | Status |
---|---|---|---|
az aks check-network outbound |
Perform outbound network connectivity check for a node in a managed Kubernetes cluster. |
Extension | GA |
az aks check-network outbound
Perform outbound network connectivity check for a node in a managed Kubernetes cluster.
This command checks outbound network connectivity from a node to certain required AKS endpoints.
az aks check-network outbound --name
--resource-group
[--custom-endpoints]
[--node-name]
Required Parameters
Name of the managed cluster.
Name of the resource group.
Optional Parameters
Additional endpoint(s) to perform the connectivity check, separated by comma.
Name of the node to perform the connectivity check. If not specified, a random node will be chosen.
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.