feat: update health-app v2 - add volume mount, env vars, resource limits

This commit is contained in:
2026-04-02 10:15:22 +00:00
parent 07610fd448
commit e976387645
2 changed files with 15 additions and 5 deletions

View File

@@ -41,13 +41,20 @@ spec:
value: "3000" value: "3000"
- name: NODE_ENV - name: NODE_ENV
value: "production" value: "production"
- name: JWT_SECRET
value: "infinicaretech-health-app-secret-2026"
- name: DB_PATH
value: "/tmp/health-app/health-app.db"
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
volumeMounts:
- name: tmp-data
mountPath: /tmp/health-app
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /health path: /health
@@ -70,3 +77,6 @@ spec:
capabilities: capabilities:
drop: drop:
- ALL - ALL
volumes:
- name: tmp-data
emptyDir: {}

View File

@@ -6,7 +6,7 @@ resources:
images: images:
- name: 10.0.0.3:31427/gitea_admin/health-app - name: 10.0.0.3:31427/gitea_admin/health-app
newTag: latest newTag: v2
patches: patches:
- target: - target: