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
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
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.
Path to the kube config file.
Kube context from current machine.
Skip SSL verification for any cluster connection.
Property | Value |
---|---|
Default value: | False |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |