Kubernetes Volumes explained | Persistent Volume, Persistent Volume Claim & Storage Class

Published: 16 May 2020
on channel: TechWorld with Nana
367k
9k

Kubernetes Volumes | Kubernetes Persistent Volumes | Kubernetes Volume Claim | Kubernetes Volume Tutorial
► Subscribe To Me On Youtube:

Kubernetes doesn't provide data persistence out of the box, which means when a pod is re-created, the data is gone.
So, you need to create and configure the actual physical storage and manage it by yourself. Once configured, you can use that physical storage using Kubernetes storage components. In this video I show you 3 different Kubernetes volume components, that you need to use to connect the actual physical storage to your pod, so that the application inside the container can access it.

The 1st component "Persistent Volume" is a cluster resource, like CPU or RAM, which is created and provisioned by administrators. The 2nd component "Persistent Volume Claim" on the other hand is a user's or pod's request for a persistent volume. With the 3rd component "Storage Class" you can dynamically provision Persistent Volume component and so automate the storage provisioning process.

► Reference to YAML Configs:
► Volume Types:
► Checkout Kubernetes Volumes Demo:


▬▬▬▬▬▬ T I M E S T A M P S
0:00 - Intro
0:20 - The need for persistent storage & storage requirements
2:05 - Persistent Volume (PV)
6:33 - Local vs Remote Volume Types
7:38 - Who creates the PV and when? (Kubernetes Administrator and Kubernetes User Role)
9:03 - Persistent Volume Claim (PVC)
10:33 - Levels of volume abstractions
12:17 - Why are these abstractions good?
13:40 - ConfigMap and Secret as volume types
15:52 - Multiple and different volume types in 1 pod
17:12 - Storage Class (SC)

-------------------------------------------------------------------------------------------------------
Full Kubernetes and Docker tutorial ►
DevOps Tools, like Ansible ►
Complete K8s Application Setup ►
Complete Jenkins Pipeline Tutorial ►

For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about Docker & Kubernetes or another technology.


-------------------------------------------------------------------------------------------------------

▬▬▬▬▬▬ Connect with me ▬▬▬▬▬▬
Join private Facebook group ►
Don't forget to subscribe ►
DEV ►
INSTAGRAM ►
TWITTER ►
LINKEDIN ►

▬▬▬▬▬▬ Courses & Bootcamp & Ebooks ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program
► High-Quality and Hands-On Courses
► Kubernetes 101 - compact and easy-to-read ebook bundle

Legal Notice:
Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.


Watch video Kubernetes Volumes explained | Persistent Volume, Persistent Volume Claim & Storage Class online without registration, duration 21 minute 14 second in high hd quality. This video was added by user TechWorld with Nana 16 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 367 thousand once and liked it 9 thousand people.