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/03-whoami.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 kubernetes/traefik/03-whoami.yml (limited to 'kubernetes/traefik/03-whoami.yml') diff --git a/kubernetes/traefik/03-whoami.yml b/kubernetes/traefik/03-whoami.yml new file mode 100644 index 0000000..8b21f67 --- /dev/null +++ b/kubernetes/traefik/03-whoami.yml @@ -0,0 +1,25 @@ +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: whoami + labels: + app: whoami + +spec: + replicas: 1 + selector: + matchLabels: + app: whoami + template: + metadata: + labels: + app: whoami + spec: + containers: + - name: whoami + image: traefik/whoami + ports: + - name: web + containerPort: 80 +... -- cgit v1.2.3