reset traefik ???

This commit is contained in:
Mans Ziesel 2024-09-22 14:06:26 +02:00
parent f1221c6591
commit a54001724e
3 changed files with 15 additions and 3 deletions

View File

@ -2,8 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
labels:
app: whoami
namespace: whoami
spec:
replicas: 3
selector:

View File

@ -10,6 +10,6 @@ spec:
pathType: Prefix
backend:
service:
name: whoami
name: whoami-traefik
port:
name: web

View File

@ -9,3 +9,16 @@ spec:
targetPort: web
selector:
app: whoami
---
apiVersion: v1
kind: Service
metadata:
name: whoami-traefik
namespace: whoami
spec:
ports:
- name: web
port: 80
targetPort: 80
selector:
app: whoami