

get logs to understand why: kubectl logs.If the AGIC pod isn't healthy ( STATUS column from the command above isn't Running), then:

Kubectl get pods -all-namespaces -selector app=ingress-azure # Get a list of the Application Gateway Ingress Controller pods A healthy pod would have Running in the STATUS column. The AGIC pod should be in the default namespace (see column NAMESPACE).
GET APP POOL PARTY PANIC HOW TO
What namespace is your app running in? Is AGIC watching that namespace? Refer to the Multiple Namespace Support documentation on how to properly configure observed namespaces. Get the existing namespaces in Kubernetes cluster. The ingress resource must be annotated with kubernetes.io/ingress.class: azure/application-gateway. Kubernetes.io/ingress.class: azure/application-gateway View annotations of the ingress above: kubectl get ingress aspnetapp -o yaml (substitute aspnetapp with the name of your ingress) kubectl get ingress aspnetapp -o yaml Verify this configuration from Cloud Shell with kubectl get ingress -o wide -show-labels kubectl get ingress -o wide -show-labels Ingress, annotated with kubernetes.io/ingress.class: azure/application-gateway, referencing the service above NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR LABELSĪspnetapp ClusterIP 10.2.63.254 80/TCP 17h app=aspnetapp Verify this configuration from Cloud Shell with kubectl get services -o wide kubectl get services -o wide -show-labels

One or more services, referencing the pods above via matching selector labels. NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES LABELSĪspnetapp 1/1 Running 0 17h 10.0.0.6 aks-agentpool-35064155-1 app=aspnetapp If you have a Pod with an apsnetapp, your output may look like this: kubectl get pods -o wide -show-labels Verify this configuration from Cloud Shell with kubectl get pods -o wide -show-labels The following conditions must be in place for AGIC to function as expected: Inspect Kubernetes Installation Pods, Services, IngressĪpplication Gateway Ingress Controller (AGIC) continuously monitors the following Kubernetes resources: Deployment or Pod, Service, Ingress
