Skip to content

Commit f454e71

Browse files
committed
Won't discover new files anyway. Read the excellent manual ...
https://www.gnu.org/software/coreutils/manual/html_node/tail-invocation.html
1 parent d82b13a commit f454e71

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

addon-logs/logs-kube-kafka.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ spec:
2121
cd /var/log/containers/;
2222
tail
2323
-n 0
24-
-f
25-
--zero-terminated
24+
--follow=name
2625
*.log
2726
|
2827
kafkacat
2928
-b kafka-0.broker.kafka.svc.cluster.local:9092,kafka-1.broker.kafka.svc.cluster.local:9092,kafka-2.broker.kafka.svc.cluster.local:9092
3029
-t ops-kube-logs-raw-001
3130
-P
32-
-D '\0'
3331
#-z snappy
3432
resources:
3533
limits:

0 commit comments

Comments
 (0)