CmdID / az / az containerapp / az containerapp arc
az containerapp arc setup-core-dns
Setup CoreDNS for Kubernetes cluster on Arc Azure CLI extensions reference
2 examples 4 options Its page in the Azure CLI extensions reference
Examples
Setup CoreDNS for Aks on Azure Local on Arc
az containerapp arc setup-core-dns --distro AksAzureLocalIdentify--distroThe distro supported to setup CoreDNS.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 kubeContextNameIdentify--distroThe distro supported to setup CoreDNS.--kube-configPath to the kube config file.--kube-contextKube context from current machine.Options
--distroThe distro supported to setup CoreDNS.--kube-configPath to the kube config file.--kube-contextKube context from current machine.--skip-ssl-verificationSkip SSL verification for any cluster connection.