This commit is contained in:
parent
9af5a5130d
commit
fa4f21a63f
19 changed files with 141 additions and 118 deletions
|
@ -16,10 +16,10 @@ spec:
|
|||
app: wooloofan-club
|
||||
spec:
|
||||
containers:
|
||||
- name: wooloofan-club
|
||||
image: 0x76/wooloofan.club
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- name: wooloofan-club
|
||||
image: 0x76/wooloofan.club
|
||||
ports:
|
||||
- containerPort: 80
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
@ -39,10 +39,10 @@ spec:
|
|||
app: wooloofan-club-whoami
|
||||
spec:
|
||||
containers:
|
||||
- name: wooloofan-club-whoami
|
||||
image: containous/whoami
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- name: wooloofan-club-whoami
|
||||
image: containous/whoami
|
||||
ports:
|
||||
- containerPort: 80
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
@ -76,23 +76,23 @@ metadata:
|
|||
spec:
|
||||
ingressClassName: "traefik"
|
||||
rules:
|
||||
- host: "wooloofan.club"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wooloofan-club-service
|
||||
port:
|
||||
number: 80
|
||||
- host: "whoami.wooloofan.club"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wooloofan-club-whoami-service
|
||||
port:
|
||||
number: 80
|
||||
- host: "wooloofan.club"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wooloofan-club-service
|
||||
port:
|
||||
number: 80
|
||||
- host: "whoami.wooloofan.club"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wooloofan-club-whoami-service
|
||||
port:
|
||||
number: 80
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue