Commit 3d8a1f3a authored by Chao Xu's avatar Chao Xu

improve the yaml

parent 7bc26dae
...@@ -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
...@@ -15,16 +15,16 @@ ...@@ -15,16 +15,16 @@
apiVersion: v1 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