From 28a0e2621bbaeaee2c06d7acd9968846a04efc84 Mon Sep 17 00:00:00 2001 From: Ginwala Date: Wed, 24 May 2017 13:41:33 -0700 Subject: [PATCH] Fix comment typo in kube-apiserver and cachesize --- cmd/kube-apiserver/app/server.go | 2 +- pkg/registry/cachesize/cachesize.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/kube-apiserver/app/server.go b/cmd/kube-apiserver/app/server.go index c8f3e5c326c..f4679da3b1b 100644 --- a/cmd/kube-apiserver/app/server.go +++ b/cmd/kube-apiserver/app/server.go @@ -536,7 +536,7 @@ func defaultOptions(s *options.ServerRunOptions) error { // 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 // on that value. - // From our documentation, we officially recomment 120GB machines for + // From our documentation, we officially recommend 120GB machines for // 2000 nodes, and we scale from that point. Thus we assume ~60MB of // capacity per node. // TODO: We may consider deciding that some percentage of memory will diff --git a/pkg/registry/cachesize/cachesize.go b/pkg/registry/cachesize/cachesize.go index 517e901099c..b853cb5e6a8 100644 --- a/pkg/registry/cachesize/cachesize.go +++ b/pkg/registry/cachesize/cachesize.go @@ -73,7 +73,7 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) { // 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 // on that value. - // From our documentation, we officially recomment 120GB machines for + // From our documentation, we officially recommend 120GB machines for // 2000 nodes, and we scale from that point. Thus we assume ~60MB of // capacity per node. // TODO: Revisit this heuristics