Commit 562c756b authored by Abhi Shah's avatar Abhi Shah

Merge pull request #9614 from caesarxuchao/logging-demo-examples-v1

update examples/logging-demo to v1
parents 57f4e467 3d8a1f3a
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# sleep 4 # sleep 4
# i=$[$i+1] # i=$[$i+1]
# done # done
apiVersion: v1beta3 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
labels: labels:
...@@ -20,10 +20,11 @@ metadata: ...@@ -20,10 +20,11 @@ metadata:
name: synthetic-logger-0.25lps-pod name: synthetic-logger-0.25lps-pod
spec: spec:
containers: containers:
- args: - name: synth-lgr
image: ubuntu:14.04
args:
- bash - bash
- -c - -c
- 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep
4; i=$[$i+1]; done' 4; i=$[$i+1]; done'
image: ubuntu:14.04
name: synth-lgr
...@@ -12,19 +12,19 @@ ...@@ -12,19 +12,19 @@
# sleep 4 # sleep 4
# i=$[$i+1] # i=$[$i+1]
# done # done
apiVersion: v1beta3 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
creationTimestamp: null
labels: labels:
name: synth-logging-source name: synth-logging-source
name: synthetic-logger-10lps-pod name: synthetic-logger-10lps-pod
spec: spec:
containers: containers:
- args: - name: synth-lgr
image: ubuntu:14.04
args:
- bash - bash
- -c - -c
- 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep
0.1; i=$[$i+1]; done' 0.1; i=$[$i+1]; done'
image: ubuntu:14.04
name: synth-lgr
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