Add translation for Logging in ID localization (#16071)

* Add id translation for logging

* Fix templating issue

* Fix templating issue

* Fix templating issue

* Add files example for SIG ID logging docs

* Fix id-cluster-logging
This commit is contained in:
Danni Setiawan
2019-09-03 09:34:27 +07:00
committed by Kubernetes Prow Robot
parent a005a107ad
commit 6111ca7afa
6 changed files with 336 additions and 0 deletions
@@ -0,0 +1,38 @@
apiVersion: v1
kind: Pod
metadata:
name: counter
spec:
containers:
- name: count
image: busybox
args:
- /bin/sh
- -c
- >
i=0;
while true;
do
echo "$i: $(date)" >> /var/log/1.log;
echo "$(date) INFO $i" >> /var/log/2.log;
i=$((i+1));
sleep 1;
done
volumeMounts:
- name: varlog
mountPath: /var/log
- name: count-log-1
image: busybox
args: [/bin/sh, -c, 'tail -n+1 -f /var/log/1.log']
volumeMounts:
- name: varlog
mountPath: /var/log
- name: count-log-2
image: busybox
args: [/bin/sh, -c, 'tail -n+1 -f /var/log/2.log']
volumeMounts:
- name: varlog
mountPath: /var/log
volumes:
- name: varlog
emptyDir: {}