<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MongoDB :: Tag :: Kubernetes training</title><link>https://k8s-school.fr/labs/k8s/en/tags/mongodb/index.html</link><description/><generator>Hugo</generator><language>en</language><copyright>Copyright (c) 2025 Fabrice Jammes - Licensed under CC BY-SA 4.0</copyright><lastBuildDate>Tue, 25 Feb 2025 14:15:26 +1000</lastBuildDate><atom:link href="https://k8s-school.fr/labs/k8s/en/tags/mongodb/index.xml" rel="self" type="application/rss+xml"/><item><title>Understanding StatefulSets</title><link>https://k8s-school.fr/labs/k8s/en/1_labs/mongo/index.html</link><pubDate>Tue, 25 Feb 2025 14:15:26 +1000</pubDate><guid>https://k8s-school.fr/labs/k8s/en/1_labs/mongo/index.html</guid><description>Semi-Manual Installation Create a MongoDB StatefulSet.
Apply the mongo-simple.yaml file to create the StatefulSet. Then apply the mongo-service.yaml file to create the headless service.
Check that the pods start in order.
Start a shell in an Ubuntu pod (kubectl run -i --rm --tty shell --image=ubuntu:24.04 -- bash), install nslookup or dig, and attempt a DNS resolution of:
mongo mongo-1.mongo What do you observe?</description></item></channel></rss>