changing config for log file

This commit is contained in:
areeqakbr 2025-03-10 11:22:34 +07:00
parent add133331d
commit 185d40080e
1 changed files with 6 additions and 2 deletions

View File

@ -139,7 +139,7 @@ spec:
cpu: "100m"
memory: 512M
ports:
- containerPort: 80
- containerPort: 5678
name: http
protocol: TCP
securityContext:
@ -147,7 +147,7 @@ spec:
capabilities:
drop: ["ALL"]
add: ["NET_ADMIN", "SYS_TIME"]
readOnlyRootFilesystem: true
readOnlyRootFilesystem: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
@ -160,6 +160,8 @@ spec:
name: config
- mountPath: /public
name: public
- mountPath: /app/logs
name: app-logs
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
@ -174,6 +176,8 @@ spec:
emptyDir: {}
- name: tmp
emptyDir: {}
- name: app-logs
emptyDir: {}
- name: config
configMap:
name: nam-backend-dev-config