Skip to content

Commit

Permalink
Allocate more storage for ElasticSearch in prod
Browse files Browse the repository at this point in the history
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 <vihang@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D11365

GitOrigin-RevId: 03482b9
  • Loading branch information
vihangm authored and copybaranaut committed May 5, 2022
1 parent d166576 commit c5b725f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/cloud_deps/prod/elastic/elastic_storage_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions k8s/cloud_deps/prod/elastic/ssd_storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ kind: StorageClass
metadata:
name: ssd
provisioner: kubernetes.io/gce-pd
allowVolumeExpansion: true
parameters:
type: pd-ssd
1 change: 1 addition & 0 deletions k8s/cloud_deps/staging/elastic/ssd_storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ kind: StorageClass
metadata:
name: ssd
provisioner: kubernetes.io/gce-pd
allowVolumeExpansion: true
parameters:
type: pd-ssd
1 change: 1 addition & 0 deletions k8s/cloud_deps/testing/elastic/ssd_storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ kind: StorageClass
metadata:
name: ssd
provisioner: kubernetes.io/gce-pd
allowVolumeExpansion: true
parameters:
type: pd-ssd

0 comments on commit c5b725f

Please sign in to comment.