reset traefik ???
This commit is contained in:
parent
f1221c6591
commit
a54001724e
@ -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:
|
||||||
|
@ -10,6 +10,6 @@ spec:
|
|||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: whoami
|
name: whoami-traefik
|
||||||
port:
|
port:
|
||||||
name: web
|
name: web
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user