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
|
||||
name: whoami
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- name: web
|
||||
containerPort: 80
|
||||
|
@ -24,8 +24,8 @@ spec:
|
||||
- match: Host(`whoami.mziesel.nl`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: whoami
|
||||
port: 80
|
||||
- name: whoami-traefik
|
||||
port: web
|
||||
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
@ -39,5 +39,5 @@ spec:
|
||||
- match: Host(`whoami.mziesel.nl`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: whoami
|
||||
port: 80
|
||||
- name: whoami-traefik
|
||||
port: web
|
||||
|
@ -12,6 +12,19 @@ spec:
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: whoami-traefik
|
||||
namespace: whoami
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
app: whoami
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: whoami-np
|
||||
namespace: whoami
|
||||
|
Loading…
Reference in New Issue
Block a user