Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
eee11dee
Commit
eee11dee
authored
May 05, 2015
by
Chao Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update logging-demo to use API v1beta3; modify the way to access Elasticsearch and Kibana services
COMMIT_BLOCKED_ON_GENDOCS
parent
221553b1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
29 deletions
+29
-29
README.md
examples/logging-demo/README.md
+0
-0
synthetic_0_25lps.yaml
examples/logging-demo/synthetic_0_25lps.yaml
+14
-15
synthetic_10lps.yaml
examples/logging-demo/synthetic_10lps.yaml
+15
-14
No files found.
examples/logging-demo/README.md
View file @
eee11dee
This diff is collapsed.
Click to expand it.
examples/logging-demo/synthetic_0_25lps.yaml
View file @
eee11dee
...
@@ -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
examples/logging-demo/synthetic_10lps.yaml
View file @
eee11dee
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment