Merge pull request #33393 from kinzhi/kinzhi84

[id]Update content/id/examples/admin/logging/two-files-counter-pod-streaming-sidecar.yaml
pull/33544/head
Kubernetes Prow Robot 2022-05-08 19:59:18 -07:00 committed by GitHub
commit e14a690ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ metadata:
spec: spec:
containers: containers:
- name: count - name: count
image: busybox image: busybox:1.28
args: args:
- /bin/sh - /bin/sh
- -c - -c
@ -22,14 +22,14 @@ spec:
- name: varlog - name: varlog
mountPath: /var/log mountPath: /var/log
- name: count-log-1 - name: count-log-1
image: busybox image: busybox:1.28
args: [/bin/sh, -c, 'tail -n+1 -f /var/log/1.log'] args: [/bin/sh, -c, 'tail -n+1 -F /var/log/1.log']
volumeMounts: volumeMounts:
- name: varlog - name: varlog
mountPath: /var/log mountPath: /var/log
- name: count-log-2 - name: count-log-2
image: busybox image: busybox:1.28
args: [/bin/sh, -c, 'tail -n+1 -f /var/log/2.log'] args: [/bin/sh, -c, 'tail -n+1 -F /var/log/2.log']
volumeMounts: volumeMounts:
- name: varlog - name: varlog
mountPath: /var/log mountPath: /var/log