How to create Kubernetes PV and PVCs?

Поділитися
Вставка
  • Опубліковано 16 лис 2024

КОМЕНТАРІ • 11

  • @renatoivancic9395
    @renatoivancic9395 4 місяці тому

    Theory followed by the actual example was really helpful to understand the whole concept better.

  • @ganeshpondy1
    @ganeshpondy1 Рік тому

    Awesome Content, Thanks for Sharing

  • @simo47768
    @simo47768 2 роки тому +2

    Hi
    Thanks. Awesome content. Very clear. I can reproduce easily.
    I have a question.
    Some storage solution run in kubernetes.
    Would you recommend it on the same cluster or outside cluster on an other kubernetes cluster dedicated for storage
    Even though there a test cluster i am scared that if kubernetes breaks, you could not reach data anymore on the pv in the cluster.

    • @learncloudnative
      @learncloudnative  2 роки тому

      Hi Mohamed,
      You could always use a remote storage location and provision it in GCP, Azure, AWS.

    • @simo47768
      @simo47768 2 роки тому

      @@learncloudnative
      Cloud is not an option
      We have on-premise cluster

    • @learncloudnative
      @learncloudnative  2 роки тому +1

      Aah ok. That changes things :)
      Looking at the docs and all, you could use a network file system and mouth that perhaps, but I don't really have much experience with on-prem scenarios. Theoretically, from the end-user perspective it shouldn't really make any difference which volume type you're using, but I bet there are other things to worry/think about when running on-prem.

  • @renatoivancic9395
    @renatoivancic9395 4 місяці тому

    Can you define PersistentVolumeClaim directly under persistentVolumeClaim property of Pod definition? For simple claims it could simplify configuration.

    • @learncloudnative
      @learncloudnative  4 місяці тому

      no, in the pod spec, you can only reference an existing claim.

  • @MrGlaiconn
    @MrGlaiconn 9 місяців тому

    my pod is in pending status.