improve the yaml

This commit is contained in:
Chao Xu 2015-06-10 16:11:36 -07:00
parent 7bc26daef9
commit 3d8a1f3a40
2 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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