Member-only story

Kubernetes Persistent Volume Setup with Microk8s Rook and Ceph

Brandon Lee
8 min readAug 19, 2023

--

Originally published on https://www.virtualizationhowto.com by Brandon Lee on August 16, 2023

Kubernetes persistent volume management is a cornerstone of modern container orchestration. Utilizing persistent storage can lead to more resilient and scalable applications. This guide delves into an experiment using Microk8s, Ceph, and Rook to create a robust storage solution for your Kubernetes cluster.

What is a Kubernetes Persistent Volume?

Kubernetes persistent volumes (PVs) are a critical storage asset in the Kubernetes volume architecture, providing a way to manage storage resources within the cluster. This section explores Kubernetes persistent volumes’ core concepts, components, and advantages.

Understanding Persistent Volumes

Persistent volumes are designed to provide storage capacity that outlives the lifespan of individual containers. Unlike regular volumes, these storage assets are not deleted when a pod is terminated, ensuring the data storage remains intact.

Components of Kubernetes Persistent Volumes

A Kubernetes persistent volume consists of several elements:

Storage Class

Defines the type and nature of the storage provided, including underlying storage provider, provisioning method (static or dynamic), and…

--

--

Brandon Lee
Brandon Lee

Written by Brandon Lee

vExpert 2018-2023, IT Pro for 24+ Years, Virtualization & cloud enthusiast, homelab fanatic, father. Content creator helping to explain complex topics simply.

No responses yet