From 3d8a1f3a40c5b74189b3b09c53277d74bed9028e Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Wed, 10 Jun 2015 16:11:36 -0700 Subject: [PATCH] improve the yaml --- examples/logging-demo/synthetic_0_25lps.yaml | 7 ++++--- examples/logging-demo/synthetic_10lps.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/examples/logging-demo/synthetic_0_25lps.yaml b/examples/logging-demo/synthetic_0_25lps.yaml index c4e0a265418..93516706c05 100644 --- a/examples/logging-demo/synthetic_0_25lps.yaml +++ b/examples/logging-demo/synthetic_0_25lps.yaml @@ -20,10 +20,11 @@ metadata: name: synthetic-logger-0.25lps-pod spec: containers: - - args: + - name: synth-lgr + image: ubuntu:14.04 + args: - bash - -c - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep 4; i=$[$i+1]; done' - image: ubuntu:14.04 - name: synth-lgr + diff --git a/examples/logging-demo/synthetic_10lps.yaml b/examples/logging-demo/synthetic_10lps.yaml index 85627d06555..6e3c1ca9296 100644 --- a/examples/logging-demo/synthetic_10lps.yaml +++ b/examples/logging-demo/synthetic_10lps.yaml @@ -15,16 +15,16 @@ apiVersion: v1 kind: Pod metadata: - creationTimestamp: null labels: name: synth-logging-source name: synthetic-logger-10lps-pod spec: containers: - - args: + - name: synth-lgr + image: ubuntu:14.04 + args: - bash - -c - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep 0.1; i=$[$i+1]; done' - image: ubuntu:14.04 - name: synth-lgr +