feat: update health-app v2 - add volume mount, env vars, resource limits
This commit is contained in:
@@ -41,13 +41,20 @@ spec:
|
||||
value: "3000"
|
||||
- name: NODE_ENV
|
||||
value: "production"
|
||||
- name: JWT_SECRET
|
||||
value: "infinicaretech-health-app-secret-2026"
|
||||
- name: DB_PATH
|
||||
value: "/tmp/health-app/health-app.db"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
volumeMounts:
|
||||
- name: tmp-data
|
||||
mountPath: /tmp/health-app
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
@@ -70,3 +77,6 @@ spec:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
volumes:
|
||||
- name: tmp-data
|
||||
emptyDir: {}
|
||||
|
||||
@@ -6,7 +6,7 @@ resources:
|
||||
|
||||
images:
|
||||
- name: 10.0.0.3:31427/gitea_admin/health-app
|
||||
newTag: latest
|
||||
newTag: v2
|
||||
|
||||
patches:
|
||||
- target:
|
||||
|
||||
Reference in New Issue
Block a user