Commit 4b262c26 authored by zhangdongdong's avatar zhangdongdong

Update volumes about log

parent e18177b8
...@@ -21,6 +21,9 @@ spec: ...@@ -21,6 +21,9 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: ${PORT} - containerPort: ${PORT}
volumeMounts:
- name: logs-volume
mountPath: /data/logs
livenessProbe: livenessProbe:
httpGet: httpGet:
scheme: HTTP scheme: HTTP
...@@ -37,3 +40,7 @@ spec: ...@@ -37,3 +40,7 @@ spec:
periodSeconds: 10 periodSeconds: 10
imagePullSecrets: imagePullSecrets:
- name: kp-schbrain - name: kp-schbrain
volumes:
- name: logs-volume
hostPath:
path: /data/logs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment