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
562c756b
Commit
562c756b
authored
Jun 11, 2015
by
Abhi Shah
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9614 from caesarxuchao/logging-demo-examples-v1
update examples/logging-demo to v1
parents
57f4e467
3d8a1f3a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
README.md
examples/logging-demo/README.md
+0
-0
synthetic_0_25lps.yaml
examples/logging-demo/synthetic_0_25lps.yaml
+5
-4
synthetic_10lps.yaml
examples/logging-demo/synthetic_10lps.yaml
+5
-5
No files found.
examples/logging-demo/README.md
View file @
562c756b
This diff is collapsed.
Click to expand it.
examples/logging-demo/synthetic_0_25lps.yaml
View file @
562c756b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
# sleep 4
# sleep 4
# i=$[$i+1]
# i=$[$i+1]
# done
# done
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
Pod
kind
:
Pod
metadata
:
metadata
:
labels
:
labels
:
...
@@ -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
examples/logging-demo/synthetic_10lps.yaml
View file @
562c756b
...
@@ -12,19 +12,19 @@
...
@@ -12,19 +12,19 @@
# sleep 4
# sleep 4
# i=$[$i+1]
# i=$[$i+1]
# done
# done
apiVersion
:
v1
beta3
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
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