Share 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, openshift}
                                   [--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.

Property Value
Accepted values: AksAzureLocal, openshift

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

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

Property Value
Default value: False
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False