Тёмный

[10] Deploying the Mariadb Galera replicated database in Kubernetes 

ILoveOpenSourceSoftware
Подписаться 223
Просмотров 1,3 тыс.
50% 1

Опубликовано:

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@ngbemartin
@ngbemartin 7 месяцев назад
is this a default installation (on a blank cluster)? or do we have to have prerequisites (pv, pvc, and others)?
@ILoveOpenSourceSoftware
@ILoveOpenSourceSoftware 7 месяцев назад
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 7 месяцев назад
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 7 месяцев назад
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.
@dannydenovi29
@dannydenovi29 5 месяцев назад
Hi! Great tutorial! Have you ever thought about doing a mariadb-operator tutorial? I'm struggling with it 🫤
@ILoveOpenSourceSoftware
@ILoveOpenSourceSoftware 5 месяцев назад
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 5 месяцев назад
@@ILoveOpenSourceSoftware It could be useful for an automated high availability and scalability use cases or backup purposes 😉
@mogallapu_ram
@mogallapu_ram 5 месяцев назад
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 5 месяцев назад
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.
Далее
Best Practices of Running Databases on Kubernetes
31:15
Мужа или парня
00:42
Просмотров 14 тыс.
MariaDB Galera cluster : Best practices
43:12
Просмотров 32 тыс.
Introduction to MySQL Operator for Kubernetes
22:57
Просмотров 3,3 тыс.
Migrate Your Databases to Kubernetes and Docker
15:29
Can you run a database in Kubernetes?
5:23
Просмотров 5 тыс.
7 Database Paradigms
9:53
Просмотров 1,6 млн