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
590038dc
Commit
590038dc
authored
Mar 25, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #23488 from gmarek/cleanup
Auto commit by PR queue bot
parents
62a6c221
ea040b77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
64 deletions
+0
-64
Makefile
test/scalability/counter/Makefile
+0
-41
counter-rc.yaml
test/scalability/counter/counter-rc.yaml
+0
-23
No files found.
test/scalability/counter/Makefile
deleted
100644 → 0
View file @
62a6c221
# Copyright 2016 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
counter
:
kubectl create
--validate
-f
counter-rc.yaml
counter1
:
kubectl scale rc counter
--replicas
=
1
counter10
:
kubectl scale rc counter
--replicas
=
10
counter50
:
kubectl scale rc counter
--replicas
=
50
counter100
:
kubectl scale rc counter
--replicas
=
100
counter200
:
kubectl scale rc counter
--replicas
=
200
counter500
:
kubectl scale rc counter
--replicas
=
500
counter5000
:
kubectl scale rc counter
--replicas
=
5000
stop
:
kubectl delete rc counter
test/scalability/counter/counter-rc.yaml
deleted
100644 → 0
View file @
62a6c221
apiVersion
:
v1
kind
:
ReplicationController
metadata
:
name
:
counter
spec
:
replicas
:
1
selector
:
app
:
counter
template
:
metadata
:
labels
:
app
:
counter
spec
:
containers
:
-
name
:
count
image
:
ubuntu:14.04
resources
:
limits
:
cpu
:
1m
args
:
[
bash
,
-c
,
'
for
((i
=
0;
;
i++));
do
echo
"$i:
$(date)";
sleep
1;
done'
]
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