How to run MongoDB with StatefulSet in Kubernetes?

preview_player
Показать описание
In this video, I'll show you how to run MongoDB in Kubernetes using a StatefulSet.

#kubernetes #kubernetescourse

▬▬▬▬▬▬ Connect with me ▬▬▬▬▬▬
Рекомендации по теме
Комментарии
Автор

Best statefulSet video I've seen so far

tukuhlimbumcartooncomedy
Автор

Nice and clear explanation. Thanks Peter!

RMHashan
Автор

Overall great video, 1 reminder is that the ip addr of a pod may has changed once it gets restarted.

qmjrkmu
Автор

I manage to make it work! Thank you so much! I'm using AWS to host my kubernetes, all works well but I can't seem to connect to the replica set using mongodb compass.

davidbaldonado
Автор

do we store the data of database pods in another instance outside of the cluster like aws rds or we just store everything in those storage classes itself in production?

vishalpoudel
Автор

Hi Learncloudnative

Can you suggest for storage section which storage you used I.e local or any cloud, I was searching for the cloud template for AWS

Kk-rlnv
Автор

Hello. I have a issue with the pod . always pending and pv, pvc didn't automatic create. need enable some feature or other yaml file to create? Thanks. K9s official document statefulset nginx same like this its pod also pending and waiting for pv/pvc resource. so I need to create pv/pvc by manual first? Thanks!

indianajones
Автор

I can't connect with mongo atlas, I have to expose the service externally, so it becomes the link to connect..I connected from k8s but externally it's impossible from Gke..why?

graficospace
Автор

what is the use of these replica set the data is not replicated among the dbs

r.avinashkumar
Автор

But in this case, mongodb is not running as replica sets, there are 3 different mongo instances,

guptaashwanee
Автор

Why kubernetes created 3 pods instead of 1?

roopesh
Автор

Unfortunately not very useful since each pod has its own storage so the data is independent in each pod, defeating the purpose of having it on k8s.

GebzNotJebz
join shbcf.ru