Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
aws: change default controller model to t3.medium
Browse files Browse the repository at this point in the history
As 2GB of RAM is not enough for running standalone controller node with
graceful upgrade strategy (2 API servers does not fit into 2GB node).

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
  • Loading branch information
invidian committed Mar 6, 2020
1 parent e746af0 commit ec3c4c0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,14 @@ variable "worker_count" {
}

variable "controller_type" {
type = string
default = "t3.small"
type = string
# When doing the upgrades of controlplane on t3.small instance type when
# having one single controlplane node, t3.small has not enough memory (2GB)
# to run more than one instance of kube-apiserver in parallel, so we need to use
# a bigger instance. With HA controlplane, t3.small should be fine, though for
# production setups, it's recommended to use bigger instances (like t3.medium), to
# give plenty of usable memory for etcd and kube-apiserver.
default = "t3.medium"
description = "EC2 instance type for controllers"
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/assets/generated_assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec3c4c0

Please sign in to comment.