feat: update health-app v2 - add volume mount, env vars, resource limits
This commit is contained in:
@@ -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: {}
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user