Azure / application-gateway-kubernetes-ingress

This is an ingress controller that can be run on Azure Kubernetes Service (AKS) to allow an Azure Application Gateway to act as the ingress for an AKS cluster.
https://azure.github.io/application-gateway-kubernetes-ingress
MIT License
677 stars 420 forks source link

Installation of AGIC is failing with connectivity issue with API server #1558

Closed priya30m closed 1 year ago

priya30m commented 1 year ago

Installation of AGIC is failing with connectivity issue with API server. Kubectl get nodes command is listing the nodes, so connectivity to AKS server is not an issue. Also telnet to API serverhost on 443 port is connecting, so network is also not an issue.

Steps followed: 1- run the following command to install the necessary CRDs for AzureIdentity, AzureAssignedIdentity, and AzureIdentityBinding kubectl create -f https://raw.githubusercontent.com/Azure/aad-pod-identity/master/deploy/infra/deployment-rbac.yaml 2-create a managed identity 3-Give identity Contributor access to your Application Gateway 4-Give identity Reader access to the Application Gateway resource group

5-install appgw ingress using helm chart and helm-config.yaml

helm upgrade --install appgw-ingress-internet -f helm-config-internet.yaml application-gateway-kubernetes-ingress/ingress-azure
Release "appgw-ingress-internet" does not exist. Installing it now.
E0627 14:58:58.117017   26896 round_tripper.go:63] CancelRequest not implemented by *cli.retryingRoundTripper
E0627 14:58:58.117017   26896 memcache.go:238] couldn't get current server API group list: Get "https://dian-poc-dns-1xxjlzxe.hcp.centralus.azmk8s.io:443/apis?timeout=32s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
Error: could not get apiVersions from Kubernetes: could not get apiVersions from Kubernetes: Get "https://dian-poc-dns-1xxjlzxe.hcp.centralus.azmk8s.io:443/apis?timeout=32s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
akshaysngupta commented 1 year ago

It seems some issue on the client slide in helm unable to list API groups. Can you try a different machine and see if you see the same problem ?

akshaysngupta commented 1 year ago

Closing this issue as this is in Helm client and not originating from AGIC pod.