aboutsummaryrefslogtreecommitdiff
path: root/kubernetes/traefik/02-traefik-services.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/02-traefik-services.yml
parent36943b299a26a94c92dbfa16a11a450b04725da1 (diff)
k8s: add traefik and test app "whoami"
Diffstat (limited to 'kubernetes/traefik/02-traefik-services.yml')
-rw-r--r--kubernetes/traefik/02-traefik-services.yml28
1 files changed, 28 insertions, 0 deletions
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
+...