Skip to content

Commit ab76ffa

Browse files
author
Mengjiao Liu
committed
[zh]Added retry option to tail
1 parent e408a38 commit ab76ffa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/examples/admin/logging/two-files-counter-pod-streaming-sidecar.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ spec:
2323
mountPath: /var/log
2424
- name: count-log-1
2525
image: busybox:1.28
26-
args: [/bin/sh, -c, 'tail -n+1 -f /var/log/1.log']
26+
args: [/bin/sh, -c, 'tail -n+1 -F /var/log/1.log']
2727
volumeMounts:
2828
- name: varlog
2929
mountPath: /var/log
3030
- name: count-log-2
3131
image: busybox:1.28
32-
args: [/bin/sh, -c, 'tail -n+1 -f /var/log/2.log']
32+
args: [/bin/sh, -c, 'tail -n+1 -F /var/log/2.log']
3333
volumeMounts:
3434
- name: varlog
3535
mountPath: /var/log

0 commit comments

Comments
 (0)