MCPcopy Index your code
hub / github.com/Azure/application-gateway-kubernetes-ingress

github.com/Azure/application-gateway-kubernetes-ingress @1.9.11

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.9.11 ↗ · + Follow
1,837 symbols 6,433 edges 368 files 1,115 documented · 61% updated 13d ago1.9.11 · 2026-06-24★ 698164 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Application Gateway Ingress Controller

GitHub release (latest by date) Build Status Go Report Card GitHub go.mod Go version

Staging release (latest by date)

Application Gateway Ingress Controller (AGIC) is a Kubernetes application, which makes it possible for Azure Kubernetes Service (AKS) customers to leverage Azure's native Application Gateway L7 load-balancer to expose cloud software to the Internet. AGIC monitors the Kubernetes cluster it is hosted on and continuously updates an App Gateway, so that selected services are exposed to the Internet.

The Ingress Controller runs in its own pod on the customer’s AKS. AGIC monitors a subset of Kubernetes Resources for changes. The state of the AKS cluster is translated to App Gateway specific configuration and applied to the Azure Resource Manager (ARM).

Azure Application Gateway + AKS

AGIC is configured via the Kubernetes Ingress resource, along with Service and Deployments/Pods. It provides a number of features, leveraging Azure’s native App Gateway L7 load balancer. To name a few: - URL routing - Cookie-based affinity - SSL termination - End-to-end SSL - Support for public, private, and hybrid web sites - Integrated web application firewall

Changelog

Blogs and talks

Setup

Usage

Tutorials: Refer to these to understand how you can expose an AKS service over HTTP or HTTPS, to the internet, using an Azure Application Gateway.

Features: List of all available AGIC features.

Annotations: The Kubernetes Ingress specification does not allow all features of Application Gateway to be exposed through the ingress resource. Therefore we have introduced application gateway ingress controller specific annotations to expose application gateway features through an ingress resource. Please refer to these to understand the various annotations supported by the ingress controller, and the corresponding features that can be turned on in the application gateway for a given annotation.

Helm Values Configuration Options: This document lists the various configuration options available through helm.

Upgrade/Rollback AGIC using helm: This documents explains how to upgrade/rollback AGIC helm installation.

How-tos

Troubleshooting

For troubleshooting, please refer to this guide.

Frequently asked questions

For FAQ, please refer to this guide.

Reporting Issues

The best way to report an issue is to create a Github Issue for the project. Please include the following information when creating the issue:

  • Subscription ID for AKS cluster.
  • Subscription ID for Application Gateway.
  • AKS cluster name/ARM Resource ID.
  • Application Gateway name/ARM Resource ID.
  • Ingress resource definition that might causing the problem.
  • The Helm configuration used to install the ingress controller.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Extension points exported contracts — how you extend this code

MultiClusterServiceNamespaceLister (Interface)
MultiClusterServiceNamespaceLister helps list and get MultiClusterServices. All objects returned here must be treated as [30 …
pkg/crd_client/azure_multicluster_crd_client/listers/multiclusterservice/v1alpha1/multiclusterservice.go
HTTPServer (Interface)
HTTPServer serving probes and metrics [4 implementers]
pkg/httpserver/httpserver.go
MetricStore (Interface)
MetricStore is store maintaining all metrics [2 implementers]
pkg/metricstore/metricstore.go
AzClient (Interface)
AzClient is an interface for client to Azure [2 implementers]
pkg/azure/client.go
EventProcessor (Interface)
EventProcessor provides a mechanism to act on events in the internal queue. [2 implementers]
pkg/worker/types.go
Clock (Interface)
Clock is an interface, which allows you to implement your own Time. [2 implementers]
pkg/appgw/configbuilder.go
SecretsKeeper (Interface)
SecretsKeeper is the interface definition for secret store [1 implementers]
pkg/k8scontext/secretstore.go
ThreadsafeMultiMap (Interface)
ThreadsafeMultiMap is a thread safe implementation of a multimap. [1 implementers]
pkg/utils/threadsafemultimap.go

Core symbols most depended-on inside this repo

Info
called by 195
pkg/brownfield/types.go
Error
called by 161
pkg/controllererrors/types.go
Create
called by 126
pkg/crd_client/istio_crd_client/clientset/versioned/typed/istio/v1alpha3/gateway.go
makeGetRequest
called by 81
scripts/e2e/cmd/runner/helper.go
NewIngressFixture
called by 77
pkg/tests/fixtures.go
GetFakeEnv
called by 67
pkg/environment/fake.go
newConfigBuilderFixture
called by 59
pkg/appgw/test_fixtures.go
resourceRef
called by 56
pkg/appgw/identifier.go

Shape

Method 957
Function 520
Struct 173
Interface 123
TypeAlias 45
FuncType 19

Languages

Go100%

Modules by API surface

pkg/k8scontext/context.go35 symbols
pkg/annotations/ingress_annotations.go32 symbols
pkg/azure/client.go31 symbols
pkg/appgw/internaltypes.go31 symbols
pkg/tests/fixtures.go30 symbols
scripts/e2e/cmd/runner/helper.go24 symbols
pkg/crd_client/agic_crd_client/informers/externalversions/factory.go24 symbols
pkg/crd_client/azure_multicluster_crd_client/clientset/versioned/typed/multiclusterservice/v1alpha1/multiclusterservice.go23 symbols
pkg/crd_client/azure_multicluster_crd_client/clientset/versioned/typed/multiclusteringress/v1alpha1/multiclusteringress.go23 symbols
pkg/metricstore/metricstore.go21 symbols
pkg/crd_client/istio_crd_client/clientset/versioned/typed/istio/v1alpha3/virtualservice.go21 symbols
pkg/crd_client/istio_crd_client/clientset/versioned/typed/istio/v1alpha3/gateway.go21 symbols

For agents

$ claude mcp add application-gateway-kubernetes-ingress \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact