[10] Deploying the Mariadb Galera replicated database in Kubernetes

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 9

  • @ngbemartin
    @ngbemartin 10 หลายเดือนก่อน +1

    is this a default installation (on a blank cluster)? or do we have to have prerequisites (pv, pvc, and others)?

    • @ILoveOpenSourceSoftware
      @ILoveOpenSourceSoftware  10 หลายเดือนก่อน +2

      The answer is no. The installation I walk through in this video is on a blank cluster but you will need additional components such as external storage for persistence. The minimum requirements for this database setup are the cluster, the pod network, external storage (whichever one you want to use) and then the database. I have a lot more installed but from a "just getting the database to work" perspective these would be the components you would need.
      I hope that helps

  • @projets-martinngbe8744
    @projets-martinngbe8744 10 หลายเดือนก่อน

    I followed the configuration according to your video in an empty kubernetes cluster with 4 nodes.
    The maradb-galera-cluster-0 pod is in a “Pending” state

    • @ILoveOpenSourceSoftware
      @ILoveOpenSourceSoftware  10 หลายเดือนก่อน +1

      Hello, thanks for your comment. It is quite difficult to diagnose that issue. Most of the time I found that these pending states are a result of the external storage not being provisioned. Check the storage volume, that is created, is bound (kubectl get pvc -n ). Check the external storage section in the values file for the database cluster. That should start somewhere around line 602 and ensure your configuration matches your cluster setup. Especially your storage class name is something you should verify. If you created claims manually, the configuration is different from the video and needs adjusting.
      Sorry I can't be more specific but diagnosing a pending state is really difficult without having access to the cluster and reviewing the config file you used to implement your solution. I hope the suggestions help.

  • @mogallapu_ram
    @mogallapu_ram 8 หลายเดือนก่อน +1

    Hi I am following your videos for my home lab, can you add one more video to backup the database and restore, in case decided to built the cluster again database backup and restore will help Thanks

    • @ILoveOpenSourceSoftware
      @ILoveOpenSourceSoftware  8 หลายเดือนก่อน +2

      Hi @mogallapu_ram, thanks for your suggestion. That is a great idea. I have planned to establish this kind of backup myself. I already have a script that I am running on my VMs that creates a backup file of the different databases. I tried the script the other day and unfortunately some of the details I have to modify to make them work but I will look into that and as soon as I figured that process out I will make a video and post it here. No promises on the timeline, however. Sorry.

  • @dannydenovi29
    @dannydenovi29 7 หลายเดือนก่อน

    Hi! Great tutorial! Have you ever thought about doing a mariadb-operator tutorial? I'm struggling with it 🫤

    • @ILoveOpenSourceSoftware
      @ILoveOpenSourceSoftware  7 หลายเดือนก่อน +2

      Hi @dannydenovi29, thanks for your comment. I have not thought about that yet but your suggestion sounds interesting. What would you want to see in such a video? I could create a video with whatever I could think of but please let me know what makes sense for you. I don't want to create something for the sake of creating it. I want the content to make sense and what might make sense for me might not for you. Please post some of your questions and ideas (the more the better) and I will see what I can do. Cannot guarantee a timeline though.

    • @dannydenovi29
      @dannydenovi29 7 หลายเดือนก่อน +1

      @@ILoveOpenSourceSoftware It could be useful for an automated high availability and scalability use cases or backup purposes 😉