Commit eee11dee authored by Chao Xu's avatar Chao Xu

update logging-demo to use API v1beta3; modify the way to access Elasticsearch and Kibana services

COMMIT_BLOCKED_ON_GENDOCS
parent 221553b1
...@@ -12,18 +12,18 @@ ...@@ -12,18 +12,18 @@
# sleep 4 # sleep 4
# i=$[$i+1] # i=$[$i+1]
# done # done
apiVersion: v1beta3
apiVersion: v1beta1
kind: Pod kind: Pod
id: synthetic-logger-0.25lps-pod metadata:
desiredState: labels:
manifest: name: synth-logging-source
version: v1beta1 name: synthetic-logger-0.25lps-pod
id: synth-logger-0.25lps spec:
containers: containers:
- name: synth-lgr - args:
image: ubuntu:14.04 - bash
command: ["bash", "-c", "i=\"0\"; while true; do echo -n \"`hostname`: $i: \"; date --rfc-3339 ns; sleep 4; i=$[$i+1]; done"] - -c
labels: - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep
name: synth-logging-source 4; i=$[$i+1]; done'
image: ubuntu:14.04
\ No newline at end of file name: synth-lgr
...@@ -12,18 +12,19 @@ ...@@ -12,18 +12,19 @@
# sleep 4 # sleep 4
# i=$[$i+1] # i=$[$i+1]
# done # done
apiVersion: v1beta3
apiVersion: v1beta1
kind: Pod kind: Pod
id: synthetic-logger-10lps-pod metadata:
desiredState: creationTimestamp: null
manifest: labels:
version: v1beta1 name: synth-logging-source
id: synth-logger-10lps name: synthetic-logger-10lps-pod
containers: spec:
- name: synth-lgr containers:
image: ubuntu:14.04 - args:
command: ["bash", "-c", "i=\"0\"; while true; do echo -n \"`hostname`: $i: \"; date --rfc-3339 ns; sleep 0.1; i=$[$i+1]; done"] - bash
labels: - -c
name: synth-logging-source - '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
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