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
a08d89c0
Unverified
Commit
a08d89c0
authored
Nov 29, 2018
by
k8s-ci-robot
Committed by
GitHub
Nov 29, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70959 from MikeSpreitzer/group-still-not-optional
Clarified syntax doc on --watch-cache-sizes
parents
98295852
fc20359f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
etcd.go
staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
+4
-3
No files found.
staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
View file @
a08d89c0
...
...
@@ -134,9 +134,10 @@ func (s *EtcdOptions) AddFlags(fs *pflag.FlagSet) {
"Default watch cache size. If zero, watch cache will be disabled for resources that do not have a default watch size set."
)
fs
.
StringSliceVar
(
&
s
.
WatchCacheSizes
,
"watch-cache-sizes"
,
s
.
WatchCacheSizes
,
""
+
"List of watch cache sizes for every resource (pods, nodes, etc.), comma separated. "
+
"The individual override format: resource[.group]#size, where resource is lowercase plural (no version), "
+
"group is optional, and size is a number. It takes effect when watch-cache is enabled. "
+
"Watch cache size settings for some resources (pods, nodes, etc.), comma separated. "
+
"The individual setting format: resource[.group]#size, where resource is lowercase plural (no version), "
+
"group is omitted for resources of apiVersion v1 (the legacy core API) and included for others, "
+
"and size is a number. It takes effect when watch-cache is enabled. "
+
"Some resources (replicationcontrollers, endpoints, nodes, pods, services, apiservices.apiregistration.k8s.io) "
+
"have system defaults set by heuristics, others default to default-watch-cache-size"
)
...
...
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