From c5b725fdd1bb6bfa65dad211bfbd1d4779ba16aa Mon Sep 17 00:00:00 2001 From: Vihang Mehta Date: Wed, 4 May 2022 18:22:31 -0700 Subject: [PATCH] Allocate more storage for ElasticSearch in prod Summary: Disk utilization was at 90% Increased size to account for growth and also to give elastic space to be able to merge indices. Test Plan: Applied to prod. Reviewers: michelle, zasgar, nserrino Reviewed By: michelle Signed-off-by: Vihang Mehta Differential Revision: https://phab.corp.pixielabs.ai/D11365 GitOrigin-RevId: 03482b9e56f7a3782510f7340725f7c691220ffe --- k8s/cloud_deps/prod/elastic/elastic_storage_patch.yaml | 2 +- k8s/cloud_deps/prod/elastic/ssd_storageclass.yaml | 1 + k8s/cloud_deps/staging/elastic/ssd_storageclass.yaml | 1 + k8s/cloud_deps/testing/elastic/ssd_storageclass.yaml | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/k8s/cloud_deps/prod/elastic/elastic_storage_patch.yaml b/k8s/cloud_deps/prod/elastic/elastic_storage_patch.yaml index c25467473ad..651db61faca 100644 --- a/k8s/cloud_deps/prod/elastic/elastic_storage_patch.yaml +++ b/k8s/cloud_deps/prod/elastic/elastic_storage_patch.yaml @@ -11,7 +11,7 @@ # Data node. - op: replace path: /spec/nodeSets/1/volumeClaimTemplates/0/spec/resources/requests/storage - value: 100Gi + value: 250Gi - op: add path: /spec/nodeSets/1/volumeClaimTemplates/0/spec/storageClassName diff --git a/k8s/cloud_deps/prod/elastic/ssd_storageclass.yaml b/k8s/cloud_deps/prod/elastic/ssd_storageclass.yaml index 3f26d344377..766c83e978b 100644 --- a/k8s/cloud_deps/prod/elastic/ssd_storageclass.yaml +++ b/k8s/cloud_deps/prod/elastic/ssd_storageclass.yaml @@ -4,5 +4,6 @@ kind: StorageClass metadata: name: ssd provisioner: kubernetes.io/gce-pd +allowVolumeExpansion: true parameters: type: pd-ssd diff --git a/k8s/cloud_deps/staging/elastic/ssd_storageclass.yaml b/k8s/cloud_deps/staging/elastic/ssd_storageclass.yaml index 3f26d344377..766c83e978b 100644 --- a/k8s/cloud_deps/staging/elastic/ssd_storageclass.yaml +++ b/k8s/cloud_deps/staging/elastic/ssd_storageclass.yaml @@ -4,5 +4,6 @@ kind: StorageClass metadata: name: ssd provisioner: kubernetes.io/gce-pd +allowVolumeExpansion: true parameters: type: pd-ssd diff --git a/k8s/cloud_deps/testing/elastic/ssd_storageclass.yaml b/k8s/cloud_deps/testing/elastic/ssd_storageclass.yaml index 3f26d344377..766c83e978b 100644 --- a/k8s/cloud_deps/testing/elastic/ssd_storageclass.yaml +++ b/k8s/cloud_deps/testing/elastic/ssd_storageclass.yaml @@ -4,5 +4,6 @@ kind: StorageClass metadata: name: ssd provisioner: kubernetes.io/gce-pd +allowVolumeExpansion: true parameters: type: pd-ssd