6. Storage

Configuring Kubernetes storage for virtual machines

In this section we focus on attaching storage volumes provided by Kubernetes storage drivers to our virtual machines. We also have a look at hotplugging and resizing disks.

Goals

  • Mount storage as disks or filesystems
  • Use filesystem and block devices
  • Mount ConfigMaps and Secrets
  • Hotplug storage
  • Resize disks

6.1. Mounting storage

Mounting storage as disks and filesystems

6.2. Using StorageProfiles

Setting defaults for storage provisioning using storage profiles

6.3. Hotplugging disks

Hotplugging disks into virtual machines

6.4. VM snapshot and restore

Snapshot and restore a virtual machine

6.5. Resizing a Disk

Resizing virtual machine disks