How to use Persistent Volume and Persistent Claims | Kubernetes - Part 9

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Here is the link for the guide - jhooq.com/how-...
    For setting up the Kubernetes Cluster using kubespray follow - • kubespray Kubernetes C...
    In this lab session on Kubernetes Persistent Volume(PV) and Persistent Volume Claim (PVC) we will be going through -
    1. Concepts behind Kubernetes Persistent Volume(PV) and Persistent Volume Claim (PVC)
    2. How to create a Persistent Volume(PV)?
    3. Persistent Volume Claim (PVC)?
    4. How to create POD and use Persistent Volume(PV) and Persistent Volume Claim(PVC)?
    For more similar content follow up on - jhooq.com
    Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.
    Video is copyrighted and it can not be re-distributed on any platform.

Комментарии • 75

  • @PraveenKumar-pk5xt
    @PraveenKumar-pk5xt 2 года назад +1

    Thanks a lot, I was looking for the better videos on PV and PVC.. You Made my day..

  • @user-qh8wc6tw4p
    @user-qh8wc6tw4p Год назад +2

    You are incredible!!)) Very intersting and pretty informative explanation. Thank you for the video!)

  • @chanduanugula2541
    @chanduanugula2541 5 месяцев назад

    Thank you for your clear explanation.
    you deserved for more subscribers
    keep of up good work that will help us.

  • @jrakesh1992
    @jrakesh1992 Год назад

    Your explanation is super and easy to understand for normal person also ... Keep it up

  • @nahum35
    @nahum35 2 года назад

    Very informative. and from my point of view, straight and to the point!

  • @mjnyc88
    @mjnyc88 Год назад +1

    Thank you very much sir for sharing in very easy words, wondering if you offer one on one class ??

    • @mjnyc88
      @mjnyc88 Год назад +1

      i really want to enroll in your kubernetes course,

  • @KhaingOfficial
    @KhaingOfficial 5 месяцев назад

    Good tutorial and explanation.
    Please have a tutorial of processing of PV & PVC in Multiple Node.

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      Thanks for stopping by

  • @edgeuplink
    @edgeuplink 4 года назад +1

    Good luck with your channel ! Good insight

  • @mathewkargarzadeh3158
    @mathewkargarzadeh3158 3 года назад

    Thanks Rahul !! for your wonderful tutorial on persistent volume in Kubernetes. I was puzzled why in the pod Yaml. you referred to it as "Kind: pod" not "kind: Deployment". Thanks.Mat.

    • @RahulWagh
      @RahulWagh  3 года назад

      Hope your query got answered. let me know if you still have any question
      //Rahul

  • @Abeel_A7
    @Abeel_A7 Год назад +1

    9:25
    I think the mount path in the deployment file is wrong. it should be the container path that need to be mounted to the volume not the volume it self. correct me if I am wrong.

  • @DEEPAKKUMAR-wk5pk
    @DEEPAKKUMAR-wk5pk 2 года назад

    Great explanation with example.

  • @mulshiwaters5312
    @mulshiwaters5312 2 месяца назад

    Good explanation
    As PV is K8s cluster resource I assume PV and PVC are the only way to attach volume to POD. then container/s inside POD can mount the same volume to container.
    Query 1: If I have two replicas for my App POD, one Replicata set on NODE1 and another Replica Set on NODE2 .Does both Replica use the same PV and PVC to attach volume to both PODs ?
    Query 2 : If I want to mount external storage like NAS directly to container inside POD , can I do this and if yes what would happen if POD dies and recreated ? how I can automate NAS volume mount to Container in case POD rebooted or dies ?

  • @devendrasinghrathore9423
    @devendrasinghrathore9423 Год назад

    Very nicely explained 👌🏼

  • @manishkumar-hg1xh
    @manishkumar-hg1xh Год назад

    Very nice and explained well

  • @jonforero
    @jonforero 3 месяца назад

    Thanks for the explanation!!
    I wanna Know something, It's possible to bound the same PV to two different PVC that are in diferent namespaces?

  • @anandkdurgam
    @anandkdurgam 3 года назад +2

    Thanks Rahul, it looks great esp the working demo. Keep it up.
    I have question though - spring boot application hosted and able to run it, but would you be able to share an io operation to it?

    • @RahulWagh
      @RahulWagh  3 года назад +1

      Hi @Anad Durgam thanks for your comment.
      Can you elaborate more on IO operation? I want to understand what you are trying to achieve, so that i can answer your question in better way
      //Rahul

    • @anandkdurgam
      @anandkdurgam 3 года назад

      Thanks Rahul for your response. Question was how to create a folder or a file to the configured path using PV/PVC.

  • @davidjhons2549
    @davidjhons2549 5 месяцев назад +1

    @RahulWagh
    And all data generating by that running pod will be available on "home/vagrant/storage" location on our local system and we can access that data,
    am i right?

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      Yes that’s right

  • @vaishnavikale713
    @vaishnavikale713 3 года назад

    Very great explanation!! Thank you

    • @RahulWagh
      @RahulWagh  3 года назад +1

      Glad you enjoyed it! stay tuned for more

  • @chrisnavarro5122
    @chrisnavarro5122 2 года назад +1

    Thanks Sir for the video! how about existing POD can we bind or integrate the PC and PVC? I'm trying this on AWX via minikuibe?

    • @RahulWagh
      @RahulWagh  2 года назад

      Yes you can bound it you need to edit the POD yaml configuraiton and mention the PV and PVC

  • @vijayaaiella9287
    @vijayaaiella9287 Год назад

    Excellent Rahul ......

  • @JoseCastro-ql1yl
    @JoseCastro-ql1yl 2 года назад

    Very good!!

  • @sanzayy
    @sanzayy Год назад

    Thanks for demo.

  • @ameyabhyankar4944
    @ameyabhyankar4944 6 месяцев назад

    Thanks for the video. I am getting following error after deploying the pod = error: the server doesn't have a resource type "jhooq-pod-with-pvc"
    Any thoughts how to fix this issue? I am using minikube. Thanks.

  • @rahuls9867
    @rahuls9867 2 года назад

    Excellent !!!

  • @sudhakarreddyshapathi2289
    @sudhakarreddyshapathi2289 2 года назад

    Good explanation Thank you.......

  • @sureshk9160
    @sureshk9160 Год назад

    This video is Wonderfull.

  • @raghuvardhansaripalli9636
    @raghuvardhansaripalli9636 Год назад

    hi Rahul, i dont see any data written into the path you have created as pv. How can the data will be written into that directory /home/vagrant ??

  • @vizagdiaries6571
    @vizagdiaries6571 Год назад

    Awesome 😎👍

  • @user-sx1sn3fn8m
    @user-sx1sn3fn8m 7 месяцев назад

    Please provide the Github links for above code

  • @sridharnarsingh2353
    @sridharnarsingh2353 2 года назад

    Thanks for the video, very informative.
    Can you display the contents of the directory in your spring boot application?

    • @RahulWagh
      @RahulWagh  2 года назад

      There is a GitHub repo for spring boot application where you can see the code

  • @halilulrahamane8798
    @halilulrahamane8798 3 года назад

    Good one.

    • @RahulWagh
      @RahulWagh  3 года назад

      Thanks for the visit

  • @DeepakKumar-uh4vx
    @DeepakKumar-uh4vx 2 года назад

    Good stuff

    • @RahulWagh
      @RahulWagh  2 года назад

      Thanks for the visit

  • @muhammadsaqib2961
    @muhammadsaqib2961 3 месяца назад

    Where to check data

  • @harirocking1530
    @harirocking1530 Год назад

    please do a demo video on how to pv using aws block storage, nfs and dynamic storage

    • @RahulWagh
      @RahulWagh  Год назад +1

      Thanks for the suggestion hopefully I will prepare around PV and PVC in AWS environment

    • @harirocking1530
      @harirocking1530 Год назад

      @@RahulWagh wt is the difference between kubectl create and kubectl apply and wer does we apply this.. Please let me know through a use case

  • @omarferrin3404
    @omarferrin3404 4 года назад +1

    How do I access a microservice in kubernetes in virtual machines of google cloud from my computer?

    • @omarferrin3404
      @omarferrin3404 4 года назад +1

      I expose it, but apache doesn't load on the website

    • @RahulWagh
      @RahulWagh  4 года назад

      Hi Omar I would be glad to answer your question but it would really nice if you could add more details to your question -
      1. How you are trying to expose your service - NodePort, ClusterIp or LoadBalancer?
      2. But i think you could refer to this clip where i exposed the service from google cloud on external ip - ruclips.net/video/ejwiMFJETdQ/видео.html
      Let me know if you still face any issue, I would be glad to help
      //Jhooq

    • @omarferrin3404
      @omarferrin3404 4 года назад +1

      @@RahulWagh I have realized, I was trying to use LoadBalancer, but I had to use NodePort, thanks your videos have been very helpful

    • @RahulWagh
      @RahulWagh  4 года назад

      Omar Omar great I was able to help you 👍

  • @sanjaykumar-jo6bw
    @sanjaykumar-jo6bw 3 года назад

    Thanks Rahul for this video , Can you Please make video on prometheus grafana dashboard migrate to nfs storage ?

    • @RahulWagh
      @RahulWagh  3 года назад

      Hey sanjay its on my list, surely you will see and video on prometheus and grafana

  • @lakshmanakumar1594
    @lakshmanakumar1594 2 года назад

    What is configmap in manifest file?

  • @arjunraj2932
    @arjunraj2932 2 года назад

    Can you please take a session for storage class

    • @RahulWagh
      @RahulWagh  2 года назад

      Surely I will add one on storage class

  • @ASHISHKUMAR-ss3rj
    @ASHISHKUMAR-ss3rj 3 года назад

    Thanks bro

  • @Krishnaprasad-uy5qe
    @Krishnaprasad-uy5qe Год назад

    Well explained but I have a doubt how each micro service will communicate with each other

  • @nelsoncool3406
    @nelsoncool3406 3 года назад

    Can you show how to resize the PVC after claiming?

    • @RahulWagh
      @RahulWagh  3 года назад +1

      I will see if i can prepare some around PVC resizing

    • @nelsoncool3406
      @nelsoncool3406 3 года назад

      Thanks a lot. That will be a great help

  • @Tay74514
    @Tay74514 3 года назад

    Excellent job explaining.