Загрузка...

Configuring Persistent Storage for Google Kubernetes Engine|2025|No Shortcut

Overview

In this lab, you set up PersistentVolumes and PersistentVolumeClaims. PersistentVolumes are storage that is available to a Kubernetes cluster. PersistentVolumeClaims enable Pods to access PersistentVolumes. Without PersistentVolumeClaims Pods are mostly ephemeral, so you should use PersistentVolumeClaims for any data that you expect to survive Pod scaling, updating, or migrating.

Objectives
In this lab, you learn how to perform the following tasks:

Create manifests for PersistentVolumes (PVs) and PersistentVolumeClaims (PVCs) for Google Cloud persistent disks (dynamically created or existing)
Mount Google Cloud persistent disk PVCs as volumes in Pods
Use manifests to create StatefulSets
Mount Google Cloud persistent disk PVCs as volumes in StatefulSets
Verify the connection of Pods in StatefulSets to particular PVs as the Pods are stopped and restarted

Видео Configuring Persistent Storage for Google Kubernetes Engine|2025|No Shortcut канала OneStop Insightful Tech Notes
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки