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
3768d8a9
Commit
3768d8a9
authored
Jun 18, 2018
by
Shyam Jeedigunta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Half the no. of endpoints in load test
parent
6d3f5b75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
load.go
test/e2e/scalability/load.go
+5
-2
No files found.
test/e2e/scalability/load.go
View file @
3768d8a9
...
@@ -535,8 +535,11 @@ func GenerateConfigsForGroup(
...
@@ -535,8 +535,11 @@ func GenerateConfigsForGroup(
MemRequest
:
26214400
,
// 25MB
MemRequest
:
26214400
,
// 25MB
SecretNames
:
secretNames
,
SecretNames
:
secretNames
,
ConfigMapNames
:
configMapNames
,
ConfigMapNames
:
configMapNames
,
// Define a label to group every 2 RCs into one service.
}
Labels
:
map
[
string
]
string
{
svcLabelKey
:
groupName
+
"-"
+
strconv
.
Itoa
((
i
+
1
)
/
2
)},
// Add a label to alternate RCs, to include only half of them in services.
if
i
%
2
==
0
{
baseConfig
.
Labels
=
map
[
string
]
string
{
svcLabelKey
:
groupName
+
"-"
+
strconv
.
Itoa
(
i
/
2
)}
}
}
if
kind
==
randomKind
{
if
kind
==
randomKind
{
...
...
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