update traefik config
This commit is contained in:
parent
4b5e61e975
commit
c9e0be4fcb
@ -17,4 +17,5 @@ spec:
|
|||||||
- image: ghcr.io/traefik/whoami:v1.10.3
|
- image: ghcr.io/traefik/whoami:v1.10.3
|
||||||
name: whoami
|
name: whoami
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- name: web
|
||||||
|
containerPort: 80
|
||||||
|
@ -24,8 +24,8 @@ spec:
|
|||||||
- match: Host(`whoami.mziesel.nl`)
|
- match: Host(`whoami.mziesel.nl`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: whoami
|
- name: whoami-traefik
|
||||||
port: 80
|
port: web
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
@ -39,5 +39,5 @@ spec:
|
|||||||
- match: Host(`whoami.mziesel.nl`)
|
- match: Host(`whoami.mziesel.nl`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: whoami
|
- name: whoami-traefik
|
||||||
port: 80
|
port: web
|
||||||
|
@ -12,6 +12,19 @@ spec:
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: whoami-traefik
|
||||||
|
namespace: whoami
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: web
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
selector:
|
||||||
|
app: whoami
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: whoami-np
|
name: whoami-np
|
||||||
namespace: whoami
|
namespace: whoami
|
||||||
|
Loading…
Reference in New Issue
Block a user