whoami: Set higher port

This commit is contained in:
Lauri Võsandi 2024-08-25 00:25:49 +03:00
parent 59db08e891
commit 22d65664b2

View File

@ -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