| `{"Message":"Error in the getting the Configurations: error {Post \https://centralus.dp.kubernetesconfiguration.azure.com/subscriptions/ subscriptionid /resourceGroups/ aksclusterresourcegroup /provider/managedclusters/clusters/ aksclustername /configurations/getPendingConfigs?api-version=2021-11-01\: dial tcp: lookup centralus.dp.kubernetesconfiguration.azure.com on 10.63.136.10:53: no such host}","LogType":"ConfigAgentTrace","LogLevel":"Error","Environment":"prod","Role":"ClusterConfigAgent","Location":"centralus","ArmId":"/subscriptions/ subscriptionid /resourceGroups/ aksclusterresourcegroup /providers/Microsoft.ContainerService/managedclusters/ aksclustername ","CorrelationId":"","AgentName":"ConfigAgent","AgentVersion":"1.8.14","AgentTimestamp":"2023/01/19 20:24:16"}` | Specific FQDN/application rules are required to use cluster extensions in the AKS clusters. [Learn more](/azure/aks/limit-egress-traffic#cluster-extensions). <br><br> This error appears due to absence of these FQDN rules because of which configuration information from the Cluster Extensions service wasn't available. | To resolve the issue, you need to create a *CoreDNS-custom override* for the *DP* endpoint to pass through the public network. <br><br> **Step 1**: To fetch *Existing CoreDNS-custom* YAML in your cluster (save it on your local for reference later), run the following command: <br> `kubectl get configmap coredns-custom -n kube-system -o yaml` <br><br> **Step 2**: To override mapping for *Central US DP* endpoint to public IP (download the YAML file attached), run the following command: <br> `kubectl apply -f corednsms.yaml` <br><br> **Step 3**: To force reload `coredns` pods, run the following command: <br> `kubectl delete pod --namespace kube-system -l k8s-app=kube-dns` <br><br> **Step 4**: To perform `NSlookup` from the *ExtensionAgent* pod to check if *coreDNS-custom* is working, run the following command: <br> `kubectl exec -i -t pod/extension-agent-<pod guid that's there in your cluster> -n kube-system -- nslookup centralus.dp.kubernetesconfiguration.azure.com` <br><br> **Step 5**: To check logs of the *ExtensionAgent* pod, run the following command: <br> `kubectl logs pod/extension-agent-<pod guid that’s there in your cluster> -n kube-system --tail=200` <br><br> **Step 6**: Delete and reinstall Backup Extension to initiate backup. |
0 commit comments