Ingress & Edge

Traffic routing on the ayedo SDP: HAProxy Edge, NGINX Ingress, Envoy Gateway (Gateway API), Coraza WAF via Envoy, MetalLB, Cilium LB/BGP, and cert-manager.

Ingress & Edge

This page describes the path of incoming traffic to your applications on the ayedo Software Delivery Platform (SDP): from the edge load balancer through NGINX Ingress or Envoy Gateway (including Coraza WAF) to your Kubernetes Services, along with cert-manager and DNS integration.

Traffic Path Overview

Client
  → Edge Load Balancer (e.g., HAProxy / VIP via MetalLB or Cilium LB/BGP)
    → Worker Node
      → NGINX Ingress Controller or Envoy Gateway (optionally with Coraza WAF)
        → Kubernetes Service → Application Pod
  • Edge / Load Balancer: Holds the external Virtual IP (VIP), runs health checks, and forwards TCP/HTTP(S) traffic into the cluster (depending on the environment via HAProxy Edge, MetalLB, or Cilium LoadBalancer / BGP).
  • Cluster Ingress / Gateway: Handles hostname and path routing, TLS termination (or SNI passthrough), and optional Web Application Firewalling.
  • Workloads: Connected via classic Ingress resources, Kubernetes Gateway API (HTTPRoute / TLSRoute), or — for special requirements — a dedicated proxy in your own namespace.

Platform Edge: NGINX Ingress and Envoy Gateway

The SDP supports NGINX Ingress and Envoy Gateway equally in parallel operation:

Component Kubernetes API Typical Use Case
NGINX Ingress networking.k8s.io/v1 (Ingress, IngressClass) Proven standard for existing charts and classic Ingress manifests
Envoy Gateway Kubernetes Gateway API (Gateway, HTTPRoute, TLSRoute, GRPCRoute) Modern standard for new routing, fine-grained traffic management, and Coraza WAF

Both controllers use separate LoadBalancer VIPs and dedicated classes (IngressClass and GatewayClass, respectively). Choose the desired path explicitly per application.

Typical GatewayClass patterns with Envoy Gateway:

  • eg-shared: Shared VIP with hostname/SNI multiplexing for multiple applications.
  • eg-dedicated: Dedicated VIP for workloads requiring their own public IP address.

Coraza WAF via Envoy Gateway

For applications with heightened security requirements, Coraza WAF is available in production as an Envoy Gateway integration. Coraza inspects incoming HTTP(S) requests against the OWASP Core Rule Set (CRS) directly at the proxy layer — before traffic ever reaches your application.

  • Detection / Audit Mode: Logs suspicious requests in the gateway logs (visible in VictoriaLogs/Grafana) to identify false positives in advance.
  • Prevention / Blocking Mode: Blocks detected attacks (such as SQL injection, XSS, and path traversal) directly at the edge.

Coordinate activation and any application-specific rule exclusions with your platform operations team as needed.

LoadBalancer VIPs: MetalLB and Cilium LB/BGP

Depending on the cluster architecture, external Service IPs are provisioned in production via:

  • MetalLB (L2 or BGP mode) — proven for on-premises, bare-metal, and dedicated clusters.
  • Cilium LoadBalancer / BGP Control Plane — eBPF-based load balancing with L2 announcements or BGP peering to top-of-rack switches (details under Network Access).
  • HAProxy Edge — upstream edge load balancer at PoP or perimeter locations.

Routing Configuration for Workloads

Classic Ingress (NGINX)

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: acme-app
  namespace: acme-production
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    nginx.ingress.kubernetes.io/proxy-body-size: "50m"
    nginx.ingress.kubernetes.io/proxy-read-timeout: "60"
    nginx.ingress.kubernetes.io/proxy-send-timeout: "60"
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - app.example.com
      secretName: acme-app-tls
  rules:
    - host: app.example.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: acme-app
                port:
                  number: 80

For an overview of available NGINX annotations, see the official ingress-nginx documentation.

Kubernetes Gateway API (Envoy Gateway)

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: acme-app
  namespace: acme-production
spec:
  parentRefs:
    - name: eg-shared
      namespace: envoy-gateway-system
  hostnames:
    - app.example.com
  rules:
    - matches:
        - path:
            type: PathPrefix
            value: /
      backendRefs:
        - name: acme-app
          port: 80
Gateway API Resource Purpose
Gateway / GatewayClass Data plane (eg-shared / eg-dedicated), managed by platform operations
HTTPRoute HTTP(S) routing, path/header matching, redirects, timeouts, and filters
TLSRoute SNI-based TLS passthrough (e.g., for downstream TLS endpoints)
GRPCRoute / TCPRoute Routing for gRPC or TCP services depending on cluster configuration

Automated TLS Certificates, DNS, and Endpoint Monitoring

Through the SDP cluster integrations, TLS certificates (cert-manager), automated DNS records (external-dns), and Endpoint Monitoring can be controlled directly via annotations on your Ingress and HTTPRoute resources.

All details, examples, and supported annotations are consolidated under Cluster Integrations.

Traefik as a Customer Workload

Traefik is not a platform ingress on the SDP, but can be run as a customer workload in your own namespace when specific middleware capabilities are needed:

  1. Install Traefik via a Deployment or Helm chart in your tenant namespace.
  2. Use a ClusterIP Service behind the platform ingress/gateway — or a dedicated LoadBalancer VIP by arrangement.
  3. Terminate TLS either at the platform edge or via cert-manager in your own namespace.

DNS Checklist for Go-Lives

Step Action
1 Clarify whether your DNS zone is managed externally or automatically via external-dns.
2 Point A/AAAA or CNAME records to the communicated edge/LoadBalancer address (never to individual node IPs).
3 Keep the TTL low before a cutover until the transition is stably completed.
4 Verify that HTTP-01 or DNS-01 challenges for cert-manager succeed properly.
5 After cutover, validate HTTPS certificates, redirects, and health checks.

Decision Guide

Requirement Recommendation
Existing Ingress manifests / Helm charts Continue using NGINX Ingress
New HTTP(S) routing, fine-grained filters, or Coraza WAF Use Envoy Gateway (HTTPRoute)
Specific Traefik middlewares owned by the app team Run Traefik as a customer workload behind the platform edge

Further Reading