mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-29 09:30:29 +00:00
kubernetes deployments for varnish & app
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user