Commit 7268a603 authored by xuezj's avatar xuezj

测试日志

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