Skip to content

Commit

Permalink
Increase es disk size (#11019)
Browse files Browse the repository at this point in the history
Disks are currently at 75% fullness, so seems like a good idea to bump a
bit. #10857 should reduce our needs, too, so this should last us a
while.

CHANGELOG_BEGIN
CHANGELOG_END
  • Loading branch information
garyverhaegen-da authored Sep 25, 2021
1 parent eac7963 commit fe9aeff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion infra/es_cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ locals {
init = "[]",
type = "n2-highmem-2",
xmx = "12g",
disk_size = 300,
},
{
suffix = "-green",
Expand All @@ -24,6 +25,7 @@ locals {
init = "[]",
type = "n2-highcpu-16",
xmx = "12g",
disk_size = 300,
},
{
suffix = "-init",
Expand All @@ -32,6 +34,7 @@ locals {
init = "[\"$(hostname)\"]",
type = "e2-standard-2",
xmx = "6g",
disk_size = 200,
},
]

Expand Down Expand Up @@ -129,7 +132,7 @@ resource "google_compute_instance_template" "es" {

disk {
boot = true
disk_size_gb = 200
disk_size_gb = local.es_clusters[count.index].disk_size
source_image = "ubuntu-os-cloud/ubuntu-${local.es_clusters[count.index].ubuntu_version}-lts"
}

Expand Down

0 comments on commit fe9aeff

Please sign in to comment.