Pinot On Kubernetes FAQ
This page has a collection of frequently asked questions about Pinot on Kubernetes with answers from the community.
How to increase server disk size on AWS
The following is an example using Amazon Elastic Kubernetes Service (Amazon EKS).
1. Update Storage Class
In the Kubernetes (k8s) cluster, check the storage class: in Amazon EKS, it should be gp2
.
Then update StorageClass to ensure:
allowVolumeExpansion: true
Once StorageClass is updated, it should look like this:
2. Update PVC
Once the storage class is updated, then we can update the PersistentVolumeClaim (PVC) for the server disk size.
Now we want to double the disk size for pinot-server-3
.
The following is an example of current disks:
The following is the output of data-pinot-server-3
:
Now, let's change the PVC size to 2T
by editing the server PVC.
kubectl edit pvc data-pinot-server-3 -n pinot
Once updated, the specification's PVC size is updated to 2T
, but the status's PVC size is still 1T
.
3. Restart pod to let it reflect
Restart the pinot-server-3
pod:
Recheck the PVC size:
Was this helpful?