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
088de9b5
Commit
088de9b5
authored
Oct 07, 2015
by
Wojciech Tyczynski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase scheduler QPS limits
parent
b53c9d8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
server.go
plugin/cmd/kube-scheduler/app/server.go
+4
-4
No files found.
plugin/cmd/kube-scheduler/app/server.go
View file @
088de9b5
...
...
@@ -77,8 +77,8 @@ func (s *SchedulerServer) AddFlags(fs *pflag.FlagSet) {
fs
.
BoolVar
(
&
s
.
EnableProfiling
,
"profiling"
,
true
,
"Enable profiling via web interface host:port/debug/pprof/"
)
fs
.
StringVar
(
&
s
.
Master
,
"master"
,
s
.
Master
,
"The address of the Kubernetes API server (overrides any value in kubeconfig)"
)
fs
.
StringVar
(
&
s
.
Kubeconfig
,
"kubeconfig"
,
s
.
Kubeconfig
,
"Path to kubeconfig file with authorization and master location information."
)
fs
.
Float32Var
(
&
s
.
BindPodsQPS
,
"bind-pods-qps"
,
15
.0
,
"Number of bindings per second scheduler is allowed to continuously make"
)
fs
.
IntVar
(
&
s
.
BindPodsBurst
,
"bind-pods-burst"
,
2
0
,
"Number of bindings per second scheduler is allowed to make during bursts"
)
fs
.
Float32Var
(
&
s
.
BindPodsQPS
,
"bind-pods-qps"
,
50
.0
,
"Number of bindings per second scheduler is allowed to continuously make"
)
fs
.
IntVar
(
&
s
.
BindPodsBurst
,
"bind-pods-burst"
,
10
0
,
"Number of bindings per second scheduler is allowed to make during bursts"
)
}
// Run runs the specified SchedulerServer. This should never exit.
...
...
@@ -95,8 +95,8 @@ func (s *SchedulerServer) Run(_ []string) error {
if
err
!=
nil
{
return
err
}
kubeconfig
.
QPS
=
2
0.0
kubeconfig
.
Burst
=
3
0
kubeconfig
.
QPS
=
5
0.0
kubeconfig
.
Burst
=
10
0
kubeClient
,
err
:=
client
.
New
(
kubeconfig
)
if
err
!=
nil
{
...
...
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