Increasing node root partition size
Increasing the size of the root EBS block, used for the root file-system, can be done relatively quickly and without requiring a reboot.
- Increase the
aws_root_block_size(GB) for each node interraform/env/prod/main.tf - Commit and push to
mainbranch. This will triggerterraformto perform the disk expansion via the CI pipeline.- You could also manually run
terraform applyonterraform/env/prod/; just be sure to commit and push afterwards.
- You could also manually run
- On each node:
- Expand the partition table. This can be done via:
- Expand the root partition (typically partition 1; see output of previous command):
- Expand the ext4 file-system to use 100% of the partition (default action for
resize2fs):
At this point the file-system should be expanded. Verify via df -h.