fix(deploy): adding correct listen port
This commit is contained in:
parent
b566193430
commit
48a657b01a
@ -6,6 +6,9 @@ resources:
|
|||||||
- resources/svc.yaml
|
- resources/svc.yaml
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
|
- name: varnish-env
|
||||||
|
literals:
|
||||||
|
- VARNISH_SIZE=1G
|
||||||
- name: varnish-config
|
- name: varnish-config
|
||||||
files:
|
files:
|
||||||
- files/default.vcl
|
- files/default.vcl
|
||||||
|
@ -16,8 +16,13 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: varnish
|
- name: varnish
|
||||||
image: reg.cadoles.com/dh/library/varnish:7.6.1
|
image: reg.cadoles.com/dh/library/varnish:7.6.1-alpine
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: varnish-env
|
||||||
|
env:
|
||||||
|
- VARNISH_HTTP_PORT=8080
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
@ -7,5 +7,5 @@ spec:
|
|||||||
app: varnish
|
app: varnish
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
|
Loading…
x
Reference in New Issue
Block a user