aboutsummaryrefslogtreecommitdiff
path: root/kubernetes/traefik/04-whoami-ingress.yml
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-03-24 20:28:59 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-03-24 20:28:59 +0100
commit471338b9dd3e3cd255bb9f43d7e7d3754f1b1999 (patch)
treebe5cc13a4fbff492c250c0c3be5a25d98e85c86e /kubernetes/traefik/04-whoami-ingress.yml
parent36943b299a26a94c92dbfa16a11a450b04725da1 (diff)
k8s: add traefik and test app "whoami"
Diffstat (limited to 'kubernetes/traefik/04-whoami-ingress.yml')
-rw-r--r--kubernetes/traefik/04-whoami-ingress.yml17
1 files changed, 17 insertions, 0 deletions
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
+...