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 kind: Deployment
metadata: metadata:
name: whoami name: whoami
labels: namespace: whoami
app: whoami
spec: spec:
replicas: 3 replicas: 3
selector: selector:

View File

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

View File

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