<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic-msdkrbklk" -->

---
title: Securing North-South Traffic in AKS Using Application...
description: Ingress is often the most exposed and least protected boundary in AKS deployments. Combining Application Gateway, Web Application Firewall and Application...
canonical: https://daily.dev/posts/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic-msdkrbklk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Securing North-South Traffic in AKS Using Application Gateway, WAF and AGIC | daily.dev
og:description: Ingress is often the most exposed and least protected boundary in AKS deployments. Combining Application Gateway, Web Application Firewall and Application...
og:url: https://daily.dev/posts/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic-msdkrbklk
og:image: https://api.daily.dev/og/posts/MsDkRBklK.png
og:image:alt: Securing North-South Traffic in AKS Using Application Gateway, WAF and AGIC
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Securing North-South Traffic in AKS Using Application Gateway, WAF and AGIC

**[Container Journal](https://daily.dev/sources/container_journal)** · 7 min read · 0 upvotes · 0 comments

## Summary

Ingress is often the most exposed and least protected boundary in AKS deployments. Combining Application Gateway, Web Application Firewall and Application Gateway Ingress Controller (AGIC) provides Layer 7 routing, attack filtering, and Kubernetes-native ingress management. Key practices include end-to-end TLS termination, restricting exposed endpoints (swagger, health, admin paths), keeping back-end services private, validating back-end health carefully, enabling WAF in prevention mode rather than detection mode, and maintaining thorough logging for threat visibility. A practical checklist covers TLS, WAF, endpoint protection, health probes, private back ends, and logging before exposing any AKS workload.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://cloudnativenow.com/contributed-content/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic>

## Questions this post answers

### What does AGIC actually do in an AKS cluster - does it handle traffic forwarding?

AGIC does not forward traffic itself; it acts as a translator between Kubernetes and Azure Application Gateway. It watches Kubernetes ingress resources and automatically converts them into Application Gateway configuration, including back-end pools, routing rules, health probes, HTTP settings, and listeners, without requiring manual changes inside Application Gateway.

_Teams wiring up AKS ingress can compare AGIC setup patterns and gotchas surfaced across the community on daily.dev._

### Should TLS terminate at the load balancer or stay encrypted all the way to my Kubernetes backend?

For sensitive workloads, TLS should remain encrypted end-to-end from the client through Application Gateway to AKS rather than terminating at the gateway and running HTTP internally. End-to-end TLS reduces exposure inside the virtual network, strengthens compliance posture, and improves protection against packet inspection compared to terminating encryption only at the gateway.

_Engineers hardening AKS ingress track TLS and WAF configuration guidance like this on daily.dev._

### What attacks can a WAF in front of Kubernetes actually block before they hit my pods?

A web application firewall placed in front of AKS can detect and block SQL injection, cross-site scripting, malicious payloads, bot traffic, and protocol anomalies like invalid headers or malformed requests before they ever reach Kubernetes workloads. Running the WAF in prevention mode rather than detection-only mode is required for it to actually block, not just log, these requests.

_Anyone deciding between detection and prevention mode for their WAF can dig into practical setups on daily.dev._

## Similar posts on daily.dev

- [Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API](https://daily.dev/posts/ingress-nginx-is-eol-a-practical-guide-for-migrating-to-kubernetes-gateway-api-fj854bzvi) · Datadog · 0 upvotes · 0 comments
- [Ease into Azure Kubernetes Application Network](https://daily.dev/posts/ease-into-azure-kubernetes-application-network-dpuvzfbp1) · InfoWorld · 0 upvotes · 0 comments
- [The 2026 Guide to Managing Wildcard TLS with Kubernetes Gateway API](https://daily.dev/posts/the-2026-guide-to-managing-wildcard-tls-with-kubernetes-gateway-api-b9t2bgsrw) · ITNEXT · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#kubernetes](https://daily.dev/tags/kubernetes), [#azure](https://daily.dev/tags/azure)

[View this post on daily.dev](https://daily.dev/posts/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic-msdkrbklk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Securing North-South Traffic in AKS Using Application Gateway, WAF and AGIC","url":"https://daily.dev/posts/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic-msdkrbklk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic-msdkrbklk"},"datePublished":"2026-08-27T10:34:33.189Z","dateModified":"2026-09-14T07:20:07.029Z","description":"Ingress is often the most exposed and least protected boundary in AKS deployments. Combining Application Gateway, Web Application Firewall and Application...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/df5735547b379529cdb8a0ccfc651e99?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/df5735547b379529cdb8a0ccfc651e99?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Container Journal","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Container Journal","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/45be8dbd2bbe4dd6ac35de519c6e4cd2","url":"https://daily.dev/sources/container_journal"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic-msdkrbklk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,kubernetes,azure","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Container Journal","item":"https://daily.dev/sources/container_journal"},{"@type":"ListItem","position":3,"name":"Securing North-South Traffic in AKS Using Application Gateway, WAF and AGIC"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/securing-north-south-traffic-in-aks-using-application-gateway-waf-and-agic-msdkrbklk#faq","mainEntity":[{"@type":"Question","name":"What does AGIC actually do in an AKS cluster - does it handle traffic forwarding?","acceptedAnswer":{"@type":"Answer","text":"AGIC does not forward traffic itself; it acts as a translator between Kubernetes and Azure Application Gateway. It watches Kubernetes ingress resources and automatically converts them into Application Gateway configuration, including back-end pools, routing rules, health probes, HTTP settings, and listeners, without requiring manual changes inside Application Gateway. Teams wiring up AKS ingress can compare AGIC setup patterns and gotchas surfaced across the community on daily.dev."}},{"@type":"Question","name":"Should TLS terminate at the load balancer or stay encrypted all the way to my Kubernetes backend?","acceptedAnswer":{"@type":"Answer","text":"For sensitive workloads, TLS should remain encrypted end-to-end from the client through Application Gateway to AKS rather than terminating at the gateway and running HTTP internally. End-to-end TLS reduces exposure inside the virtual network, strengthens compliance posture, and improves protection against packet inspection compared to terminating encryption only at the gateway. Engineers hardening AKS ingress track TLS and WAF configuration guidance like this on daily.dev."}},{"@type":"Question","name":"What attacks can a WAF in front of Kubernetes actually block before they hit my pods?","acceptedAnswer":{"@type":"Answer","text":"A web application firewall placed in front of AKS can detect and block SQL injection, cross-site scripting, malicious payloads, bot traffic, and protocol anomalies like invalid headers or malformed requests before they ever reach Kubernetes workloads. Running the WAF in prevention mode rather than detection-only mode is required for it to actually block, not just log, these requests. Anyone deciding between detection and prevention mode for their WAF can dig into practical setups on daily.dev."}}]}
```

