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
1fd5289e
Commit
1fd5289e
authored
Oct 27, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Oct 27, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #35680 from wojtek-t/increase_cachesize_for_pods
Automatic merge from submit-queue Increase watchcache sizes for large clusters
parents
6e767c71
44a6c48e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cachesize.go
pkg/registry/cachesize/cachesize.go
+2
-2
No files found.
pkg/registry/cachesize/cachesize.go
View file @
1fd5289e
...
@@ -87,8 +87,8 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) {
...
@@ -87,8 +87,8 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) {
// TODO: Figure out which resource we should have non-default value.
// TODO: Figure out which resource we should have non-default value.
watchCacheSizes
[
Controllers
]
=
maxInt
(
5
*
clusterSize
,
100
)
watchCacheSizes
[
Controllers
]
=
maxInt
(
5
*
clusterSize
,
100
)
watchCacheSizes
[
Endpoints
]
=
maxInt
(
10
*
clusterSize
,
1000
)
watchCacheSizes
[
Endpoints
]
=
maxInt
(
10
*
clusterSize
,
1000
)
watchCacheSizes
[
Nodes
]
=
maxInt
(
3
*
clusterSize
,
1000
)
watchCacheSizes
[
Nodes
]
=
maxInt
(
5
*
clusterSize
,
1000
)
watchCacheSizes
[
Pods
]
=
maxInt
(
1
0
*
clusterSize
,
1000
)
watchCacheSizes
[
Pods
]
=
maxInt
(
5
0
*
clusterSize
,
1000
)
watchCacheSizes
[
Services
]
=
maxInt
(
5
*
clusterSize
,
1000
)
watchCacheSizes
[
Services
]
=
maxInt
(
5
*
clusterSize
,
1000
)
}
}
...
...
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