How to increase disk size? (DiskPressure / Evicted Pods)

This troubleshooting guide describes how to increase the disk size in k3OS VM installed in Proxmox

Disk can get full, having warnings such as Disk Pressure and evicted pods.

Problem

Disk is full of a k3OS VM installed in Proxmox. On these cases DiskPressure on the Node and multiple evicted pods.

Untitled

Solution

Part 1: Proxmox

  1. Increase disk space according to following tutorial: https://pve.proxmox.com/wiki/Resize_disks
  2. See also screenshot for further commands / help

Untitled

Part 2: For OPNsense / FreeBSD

Use the following commands (after resizing in Proxmox):

  1. gpart show vtbd0
  2. gpart resize -i 3 vtbd0
  3. growfs /

See also the following images:

Untitled

Untitled

Last modified October 5, 2022: Historian article (#107) (5f30dc0)