Summary
Full Transcript
đŻ CKA 2025 Q-1: Recover Deleted MariaDB Deployment Using PersistentVolume In this tutorial, I show you how to recover a deleted MariaDB Deployment on a Kubernetes cluster while preserving data using PersistentVolumes (PV) and PersistentVolumeClaims (PVC). CKA Labs - https://killercoda.com/vjain04/ đ *Problem Scenario:* A user accidentally deleted a MariaDB Deployment in the mariadb namespace, but the data was protected on a PersistentVolume. Your task is to: Create a PersistentVolumeClaim to reclaim the existing PersistentVolume Restore the MariaDB Deployment with the PVC attached Ensure the Deployment runs stably đ ď¸ *Files Used:* 1. pv.yaml - Defines the PersistentVolume with local-path storage 2. pvc.yaml - Creates the PVC in mariadb namespace 3. mariadb-deploy.yaml - MariaDB Deployment with PVC reference đ *Resources:* Kubernetes Docs: https://kubernetes.io/docs/concepts/storag... CKA Exam Guide: https://www.cncf.io/certification/cka/ If you found this helpful, please LIKE and SUBSCRIBE for more CKA exam prep tutorials! #CKA #Kubernetes #KubernetesStorage #PersistentVolume #MariaDB #ContainerOrchestration #ExamPrep
