Kubernetes Volumes | Kubernetes Persistent Volumes | Kubernetes Volume Claim | Kubernetes Volume Tutorial
► Subscribe To Me On Youtube: https://bit.ly/2z5rvTV
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: https://gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/-/tree/master/kubernetes-volumes
► Volume Types: https://kubernetes.io/docs/concepts/storage/volumes/#types-of-volumes
► Checkout Kubernetes Volumes Demo: https://youtu.be/FAnQTgr04mU
▬▬▬▬▬▬ 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 ► https://bit.ly/2YGeRp9
DevOps Tools, like Ansible ► https://bit.ly/2W9UEq6
Complete K8s Application Setup ► https://youtu.be/EQNO_kM96Mo
Complete Jenkins Pipeline Tutorial ► https://youtu.be/7KCS70sCoK0
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.
#kubernetesvolumes #kubernetes #kubernetestutorial #devops #techworldwithnana
——————————————————————————————————-
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► https://bit.ly/32UVSZP
Don’t forget to subscribe ► https://bit.ly/3mO4jxT
DEV ► https://bit.ly/3h2fqiO
INSTAGRAM ► https://bit.ly/2F3LXYJ
TWITTER ► https://bit.ly/3i54PUB
LINKEDIN ► https://bit.ly/3hWOLVT
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.
source
► Reference to YAML Configs: https://gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/-/tree/master/kubernetes-volumes
▬▬▬▬▬▬ T I M E S T A M P S
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)
Hi I need some support on local volumes. Currently I have host-path but as per the k8s docs host-path provisioner is not supporting multi node cluster. I'm using 3 node microk8s cluster currently.
i love you
Excellent explanation
Pv, pvc and storage class never seen any where explained this much neat and clearly 10000 thanks to nana…keep taught us
Thank you for the great video, i just have one question, should we create the PV before ? like when the Pod need a special volume as he need and the pv is not created, what happend in this case ? thank you so much again
is it possible to move a PVC from one namespace to another namespace?
Great video! Thank you for putting this together!
Really well done. This has been a slippery concept for me for a while, but this was well-articulated.
좋은 영상 감사합니다~!
개념이해에 항상 도움이 됩니다
It's just amazing how you're able to explain everything that i need to know about this subject so well. Thank you so much, congrats for the great content
can you please provide video link for docker networking once. I am unable to find the same
Nice 👍
Thanks
Do you have a video on how to best structure the git repo(s). Like are there best practices?
Very nice high-level overview of a somewhat complicated topic 🙏
Class Nana 💖💖💖
Thnks you so much for making us to comprehend the kubernetes topics. iam new to this chanel,what a explanation got crsip idea about kubernetes storages
i really struggling to understand things.
Say my application uses a mongodb databse to store data.
So, if i mounted a storage like in this video,.. who is going to install mongodb in that storage for me?
And what connection string, , url, password, etc should i be writing in my applications code, so it will connected to the above storage?
That is just wow! Thank you!
Claim must exist in the same namespace as the pod using the claim, but PV are not namespaced. Confused on this point. Is there a difference between PVC and PV? (Ok, I think I see: Admin creates PV (not namespaced). User creates PVC which is namespaced. Is this correct?
Thank you for such a wonderful explanation. Short and sweet.
Once again, youve taken a concept that I have been struggling with and entirely cleared it up. Not just that though, you've provided a visual representation that will stick around every time i approach this topic. If only kubernetes made such visual effort in their docs.
Thank you Nana. nicely explained and made it so simple
This video really helped me with understanding the concept ! I am looking forward for that more detailed version (that you mentioned during the video, especially with local), is that video out ? I was not able to find it in the channel
Awesome explanation!