...
Code Block |
---|
sh resize_pvc.sh kafka 100Gi kfuse |
Resizing PVC on Azure
On Azure, the PremiumV2_LRS disk needs to be in unattached state before it can be resized.
Follow these steps to resize PVC on Azure.
Cordon all the nodes
Code Block kubectl cordon <NODE>
Delete the statefulset
Code Block kubectl sts <STATEFULSET>
Verify that the corresponding disk is in
unattached
state in Azure Portal. See example screenshot.Patch all the PVC with the desired size.
Code Block kubectl patch pvc <PVC> --patch '{"spec": {"resources": {"requests": {"storage": "'<SIZE>'" }}}}'
Uncordon the node
Code Block kubectl uncordon <NODE>
Update
custom_values.yaml
with the disk size for the statefulset disk.Run helm upgrade of kfuse with the updated
custom_values.yaml
Fluent-Bit
Duplicate logs show up in Kfuse stack
...