reset traefik ???
This commit is contained in:
parent
f1221c6591
commit
a54001724e
@ -2,8 +2,7 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: whoami
|
||||
labels:
|
||||
app: whoami
|
||||
namespace: whoami
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
|
@ -10,6 +10,6 @@ spec:
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: whoami
|
||||
name: whoami-traefik
|
||||
port:
|
||||
name: web
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user