From 471338b9dd3e3cd255bb9f43d7e7d3754f1b1999 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Mon, 24 Mar 2025 20:28:59 +0100 Subject: k8s: add traefik and test app "whoami" --- kubernetes/traefik/04-whoami-ingress.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 kubernetes/traefik/04-whoami-ingress.yml (limited to 'kubernetes/traefik/04-whoami-ingress.yml') diff --git a/kubernetes/traefik/04-whoami-ingress.yml b/kubernetes/traefik/04-whoami-ingress.yml new file mode 100644 index 0000000..e8f3782 --- /dev/null +++ b/kubernetes/traefik/04-whoami-ingress.yml @@ -0,0 +1,17 @@ +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: whoami-ingress +spec: + rules: + - http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: whoami + port: + name: web +... -- cgit v1.2.3