This commit is contained in:
2025-05-02 16:48:27 +02:00
parent 48ef406428
commit 2c03527d00
6 changed files with 106 additions and 1 deletions
+42
View File
@@ -0,0 +1,42 @@
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: noaas
name: noaas
spec:
replicas: 2
selector:
matchLabels:
app: noaas
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: noaas
spec:
securityContext:
runAsUser: 1000
runAsGroup: 1000
containers:
- image: noaas
imagePullPolicy: IfNotPresent
name: noaas
ports:
- containerPort: 3000
name: http
readinessProbe:
httpGet:
path: /health
port: 3000
resources:
limits:
cpu: 1
memory: 128Mi
requests:
cpu: 10m
memory: 50Mi
securityContext:
readOnlyRootFilesystem: true