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