---
title: "Rejecting Invalid Ingress Routes at Apply Time"
description: "Zalando moved validation of Skipper routing configuration onto the Kubernetes admission path, so a validating webhook now rejects Ingress and RouteGroup objects with unknown predicates, bad filter parameters or unparseable backends during kubectl apply."
url: "https://swe.quest/articles/rejecting-invalid-ingress-routes-at-apply-time-a3740f5f524b0b3f"
canonical: "https://engineering.zalando.com/posts/2026/04/skipper-validating-admission-webhook.html"
source: "Zalando Engineering"
published: "2026-04-08"
difficulty: "medium"
kind: "Case study"
reading_minutes: 5
tags: ["kubernetes","load-balancing","deployment","configuration"]
---

# Rejecting Invalid Ingress Routes at Apply Time

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2026-04-08, 5 min read, Case study. Original: [https://engineering.zalando.com/posts/2026/04/skipper-validating-admission-webhook.html](https://engineering.zalando.com/posts/2026/04/skipper-validating-admission-webhook.html)

## Summary

Zalando moved validation of Skipper routing configuration onto the Kubernetes admission path, so a validating webhook now rejects Ingress and RouteGroup objects with unknown predicates, bad filter parameters or unparseable backends during kubectl apply. The webhook reuses Skipper's own filter registry, predicate specs and backend checks, so it answers "would Skipper accept this route?" rather than "does this string parse?", and it returns actionable error messages. Zalando runs this across 250+ clusters with ~200k routes. It rolled the change out tier by tier, watching a skipper\_route\_invalid{route\_id, reason} metric and webhook health, with an -enable-advanced-validation flag as a fast rollback when false positives appeared. The feature ships in open-source Skipper from v0.24.18.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Load balancing](https://swe.quest/tags/load-balancing.md) (Infrastructure)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Configuration management](https://swe.quest/tags/configuration.md) (Reliability & operations)

## Prerequisites

- Kubernetes Ingress resources ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Kubernetes admission webhooks ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))

## Keywords

Skipper, Kubernetes, RouteGroup, ValidatingAdmissionWebhook, eskip, Zalando

## Related posts

- [A Simple Kubernetes Admission Webhook](https://swe.quest/articles/a-simple-kubernetes-admission-webhook-50cc4dc0d3369d0a.md): Slack Engineering · 2021-12-14 · Medium · 10 min read · Kubernetes, Go
  A Kubernetes validating and mutating admission webhook can be a minimal, stateless Go HTTPS server that receives AdmissionReview requests and returns allow/deny decisions or base64-encoded JSON patches.
- [Scaling Beyond Limits: Harnessing Route Server for a Stable Cluster](https://swe.quest/articles/scaling-beyond-limits-harnessing-route-server-for-a-stable-cluster-25826a1197db482d.md): Zalando Engineering · 2025-02-16 · Medium · 5 min read · Kubernetes, Load balancing, Scaling, Caching, Deployment
  Zalando put a Route Server between its Skipper ingress proxies and the Kubernetes API after roughly 180 Skipper instances per cluster, each polling Ingresses and RouteGroups, overloaded etcd and throttled the API server.
- [Open Policy Agent in Skipper Ingress](https://swe.quest/articles/open-policy-agent-in-skipper-ingress-2212f205fec12498.md): Zalando Engineering · 2024-12-05 · Medium · 6 min read · Identity & auth, Load balancing, Kubernetes, System design, Observability
  Zalando embedded Open Policy Agent as a library inside Skipper, its Kubernetes ingress controller and reverse proxy, to offer authorization as a service.
- [Avoiding Kubernetes Pod Topology Spread Constraint Pitfalls](https://swe.quest/articles/avoiding-kubernetes-pod-topology-spread-constraint-pitfalls-e98998a6a64fb2aa.md): Wise Engineering · 2023-03-28 · Medium · 6 min read · Kubernetes, Scheduling, Resilience, Deployment
  Kubernetes Pod Topology Spread Constraints with a naive LabelSelector (e.g. just the app label) can produce heavy zone skew during rolling updates, because kube-scheduler counts Pods from both old and new ReplicaSets and never rebalances when old Pods are randomly terminated.
- [Building Overexposed: understanding application exposure](https://swe.quest/articles/building-overexposed-understanding-application-exposure-db7e9a3ccc65fc14.md): Shopify Engineering · 2026-10-19 · Medium · 9 min read · Security, Identity & auth, Cloud platforms, Kubernetes, Application security
  Overexposed is Shopify's scheduled scanner for finding GKE Ingresses and Cloud Run services reachable without authentication.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
