kubernetes deployments for varnish & app

This commit is contained in:
2025-09-04 01:25:36 +02:00
parent 630ceb2473
commit d0e107f644
2 changed files with 12 additions and 15 deletions

View File

@@ -19,7 +19,16 @@ spec:
spec:
containers:
- name: infra-map
- env:
image: ${IMAGE}
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 300m
memory: 828Mi
requests:
cpu: 250m
memory: 64Mi
env:
- name: ORIGIN
value: http://infra-map.infra-map.svc.cluster.local:3000
- name: PROTOCOL_HEADER
@@ -33,17 +42,5 @@ spec:
envFrom:
- secretRef:
name: secret-env-values
image: ${IMAGE}
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 300m
memory: 828Mi
requests:
cpu: 250m
memory: 64Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullSecrets:
- name: ghcr-login-secret
dnsPolicy: ClusterFirst

View File

@@ -9,7 +9,7 @@ metadata:
spec:
ports:
- port: 80
name: http
name: http-varnish
protocol: TCP
targetPort: 6081
selector:
@@ -28,7 +28,7 @@ metadata:
spec:
ports:
- port: 80
name: http
name: http-app
protocol: TCP
targetPort: 3000
selector: