whoami: Set higher port
This commit is contained in:
parent
59db08e891
commit
22d65664b2
@ -20,6 +20,9 @@ spec:
|
||||
containers:
|
||||
- name: whoami
|
||||
image: traefik/whoami
|
||||
env:
|
||||
- name: WHOAMI_PORT_NUMBER
|
||||
value: "8080"
|
||||
resources:
|
||||
limits:
|
||||
cpu: 10m
|
||||
@ -30,7 +33,7 @@ spec:
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- containerPort: 8080
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: v1
|
||||
@ -46,7 +49,7 @@ spec:
|
||||
ports:
|
||||
- name: whoami-http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
targetPort: 8080
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
|
Loading…
Reference in New Issue
Block a user