Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

  1. Cordon all the nodes

    Code Block
    kubectl cordon <NODE>
  2. Delete the statefulset

    Code Block
    kubectl sts <STATEFULSET>
  3. Verify that the corresponding disk is in unattached state in Azure Portal. See example screenshot.

    Screenshot 2024-04-04 at 9.03.41 AM.pngImage Added
  4. Patch all the PVC with the desired size.

    Code Block
    kubectl patch pvc <PVC> --patch '{"spec": {"resources": {"requests": {"storage": "'<SIZE>'" }}}}'
  5. Uncordon the node

    Code Block
    kubectl uncordon <NODE>
  6. Update custom_values.yaml with the disk size for the statefulset disk.

  7. Run helm upgrade of kfuse with the updated custom_values.yaml

Fluent-Bit

Duplicate logs show up in Kfuse stack

...