Del via


az containerapp arc

Note

This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). The extension will automatically install the first time you run an az containerapp arc command. Learn more about extensions.

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Install prerequisites for Kubernetes cluster on Arc.

Commands

Name Description Type Status
az containerapp arc setup-core-dns

Setup CoreDNS for Kubernetes cluster on Arc.

Extension Preview

az containerapp arc setup-core-dns

Preview

Command group 'containerapp arc' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Setup CoreDNS for Kubernetes cluster on Arc.

az containerapp arc setup-core-dns --distro {AksAzureLocal}
                                   [--kube-config]
                                   [--kube-context]
                                   [--skip-ssl-verification]
                                   [--yes]

Examples

Setup CoreDNS for Aks on Azure Local on Arc

az containerapp arc setup-core-dns --distro AksAzureLocal

Setup CoreDNS for Aks on Azure Local on Arc by specifying the kubeconfig and kubecontext.

az containerapp arc setup-core-dns --distro AksAzureLocal --kube-config /path/to/kubeconfig --kube-context kubeContextName

Required Parameters

--distro

The distro supported to setup CoreDNS.

Accepted values: AksAzureLocal

Optional Parameters

--kube-config

Path to the kube config file.

--kube-context

Kube context from current machine.

--skip-ssl-verification

Skip SSL verification for any cluster connection.

Default value: False
--yes -y

Do not prompt for confirmation.

Default value: False
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.