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
84fd2f2f
Commit
84fd2f2f
authored
Dec 01, 2016
by
bruceauyeung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix glog message typo
Signed-off-by:
bruceauyeung
<
ouyang.qinhua@zte.com.cn
>
parent
d2badd68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server.go
cmd/kube-apiserver/app/server.go
+2
-2
No files found.
cmd/kube-apiserver/app/server.go
View file @
84fd2f2f
...
...
@@ -152,7 +152,7 @@ func Run(s *options.ServerRunOptions) error {
if
s
.
Etcd
.
StorageConfig
.
DeserializationCacheSize
==
0
{
// When size of cache is not explicitly set, estimate its size based on
// target memory usage.
glog
.
V
(
2
)
.
Infof
(
"Initalizing deserialization cache size based on %dMB limit"
,
s
.
GenericServerRunOptions
.
TargetRAMMB
)
glog
.
V
(
2
)
.
Infof
(
"Init
i
alizing deserialization cache size based on %dMB limit"
,
s
.
GenericServerRunOptions
.
TargetRAMMB
)
// This is the heuristics that from memory capacity is trying to infer
// the maximum number of nodes in the cluster and set cache sizes based
...
...
@@ -299,7 +299,7 @@ func Run(s *options.ServerRunOptions) error {
}
if
s
.
GenericServerRunOptions
.
EnableWatchCache
{
glog
.
V
(
2
)
.
Infof
(
"Initalizing cache sizes based on %dMB limit"
,
s
.
GenericServerRunOptions
.
TargetRAMMB
)
glog
.
V
(
2
)
.
Infof
(
"Init
i
alizing cache sizes based on %dMB limit"
,
s
.
GenericServerRunOptions
.
TargetRAMMB
)
cachesize
.
InitializeWatchCacheSizes
(
s
.
GenericServerRunOptions
.
TargetRAMMB
)
cachesize
.
SetWatchCacheSizes
(
s
.
GenericServerRunOptions
.
WatchCacheSizes
)
}
...
...
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