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