Increase the ephemeral storage on a VKS node
search cancel

Increase the ephemeral storage on a VKS node

book

Article ID: 408602

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

By default vSphere Kubernetes Service (VKS) nodes contain 20 GiB of ephemeral storage to be consumed by the node. Increasing the available storage at / (filesystem root) is not supported. You can however increase the overall amount of storage accessible to a node via volume mounts and you must use a supported volume mount location.  Increasing a nodes ephemeral storage by directly increasing the amount of storage allocated to the root directory is not recommended or supported. For the reasons provided in vSphere Supervisor Root Disk Space Full at 100%


"During the node volume mount creation process everything is moved from the existing directory into a temp folder, then the additional storage is configured and mounted to the node, then finally everything is moved from the temp folder into the new storage. Any running service that is actively using files in the node volume mount location will not function during the creation process of the node volume mount, meaning that any directory that is being used by core system processes are not supported. This includes but are not limited to the following configured directories."

Resolution

Ephemeral storage will use the disk available on a node (space allocated to /) The recommended and supported action is adding a short lived Persistent Volumes to allow additional storage to be consumed by pods on the node. The underlying volume is not stored on the nodes disk, which you might expect with ephemeral storage volume. The volume will be stored on the storage device you have allocated to the underlying storage class and storage policy.

Additional Information