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
d24d6b81
Commit
d24d6b81
authored
Oct 08, 2015
by
Piotr Szczesniak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15215 from wojtek-t/increase_scheduler_limits
Increase scheduler QPS limits
parents
7324cd68
088de9b5
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 @
d24d6b81
...
@@ -77,8 +77,8 @@ func (s *SchedulerServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -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
.
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
.
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
.
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
.
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"
,
2
0
,
"Number of bindings per second scheduler is allowed to make during bursts"
)
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.
// Run runs the specified SchedulerServer. This should never exit.
...
@@ -95,8 +95,8 @@ func (s *SchedulerServer) Run(_ []string) error {
...
@@ -95,8 +95,8 @@ func (s *SchedulerServer) Run(_ []string) error {
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
kubeconfig
.
QPS
=
2
0.0
kubeconfig
.
QPS
=
5
0.0
kubeconfig
.
Burst
=
3
0
kubeconfig
.
Burst
=
10
0
kubeClient
,
err
:=
client
.
New
(
kubeconfig
)
kubeClient
,
err
:=
client
.
New
(
kubeconfig
)
if
err
!=
nil
{
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