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 -n

Name of the managed cluster.

--resource-group -g

Name of the resource group.

Optional Parameters

--custom-endpoints

Additional endpoint(s) to perform the connectivity check, separated by comma.

--node-name

Name of the node to perform the connectivity check. If not specified, a random node will be chosen.

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.