From 97e810666963843967e73588474f16b2442e61d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Sun, 10 Oct 2021 15:23:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20Update=20Ingress=20path=20prefix?= =?UTF-8?q?=20example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- slides/k8s/ingress.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/slides/k8s/ingress.md b/slides/k8s/ingress.md index 66b045e2..01a6b893 100644 --- a/slides/k8s/ingress.md +++ b/slides/k8s/ingress.md @@ -581,19 +581,19 @@ class: extra-details --- -## Ingress in the past +## Ingress shortcomings -- Before the v1 spec, some features were not standardized +- A lot of things have been left out of the Ingress v1 spec -- Example: stripping path prefixes in Traefik vs NGINX + (routing requests according to weight, cookies, across namespaces...) - - [traefik.ingress.kubernetes.io/rule-type: PathPrefixStrip](https://docs.traefik.io/user-guide/kubernetes/#path-based-routing) +- Example: stripping path prefixes - - [ingress.kubernetes.io/rewrite-target: /](https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/rewrite) + - NGINX: [nginx.ingress.kubernetes.io/rewrite-target: /](https://github.com/kubernetes/ingress-nginx/blob/main/docs/examples/rewrite/README.md) -- However, the v1 spec didn't standardize everything + - Traefik v1: [traefik.ingress.kubernetes.io/rule-type: PathPrefixStrip](https://doc.traefik.io/traefik/migration/v1-to-v2/#strip-and-rewrite-path-prefixes) - (e.g. A/B, sticky sessions, canary...) + - Traefik v2: [requires a CRD](https://doc.traefik.io/traefik/migration/v1-to-v2/#strip-and-rewrite-path-prefixes) ---