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/02-traefik-services.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 kubernetes/traefik/02-traefik-services.yml (limited to 'kubernetes/traefik/02-traefik-services.yml') diff --git a/kubernetes/traefik/02-traefik-services.yml b/kubernetes/traefik/02-traefik-services.yml new file mode 100644 index 0000000..2a44a13 --- /dev/null +++ b/kubernetes/traefik/02-traefik-services.yml @@ -0,0 +1,28 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: traefik-dashboard-service + +spec: + type: LoadBalancer + ports: + - port: 8080 + targetPort: dashboard + selector: + app: traefik +... +--- +apiVersion: v1 +kind: Service +metadata: + name: traefik-web-service + +spec: + type: LoadBalancer + ports: + - targetPort: web + port: 80 + selector: + app: traefik +... -- cgit v1.2.3