3. Extending disk size for nodes in Kubernetes Cluster on HI GIO Portal

Overview

  • Step-by-step guide on how to increase the disk capacity of each node in the cluster to meet growing storage needs.

  • No downtime.

Procedure

I. Pre-requisites:

  • Make sure oVDC has an available storage quota.

  • Make sure you can access the node (ssh, node-shell…)

II. Procedure:

1

Step 1: Log in to HI GIO portal > Virtual Machines > Select the node you want to extend disk size > Hard Disks > EDIT

2

Step 2: Enter new disk size >SAVE

3

Step 3: SSH to the node and run the commands below to expand the disk on the OS.

  • Check root mount point:

df -h

eg. /dev/sda4

  • Run the commands below to extend the capacity for /dev/sda4

echo 1 > /sys/block/sda/device/rescan 
growpart /dev/sda 4 
resize2fs /dev/sda4
  • Run command to verify disk size after expansion

fdisk -l

Last updated