Commit a1d7a739 authored by xuezj's avatar xuezj

hostpath

parent 23f62661
......@@ -47,6 +47,8 @@ spec:
image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always
volumeMounts:
- mountPath: /home/logs
name: filelog
env:
- name: NAMESPACE
value: {{namespace}}
......@@ -72,6 +74,10 @@ spec:
periodSeconds: 5
successThreshold: 1
failureThreshold: 40
volumes:
- name: filelog
hostPath:
path: /var/log/containers2/{{namespace}}/{{serviceName}}
restartPolicy: Always
dnsPolicy: ClusterFirst
imagePullSecrets:
......
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