MongoDB on Kubernetes 101: A Hands-On Guide

The times when Kubernetes was used just for stateless apps are long gone. Without any experience, however, running MongoDB on K8s may still feel like a difficult task. If you’ve been hesitant to move your data layer into K8s, or if your first attempt left you with more questions than answers, this workshop is for you.
Join this practical, guided laboratory where we build a functional MongoDB environment using Percona Operator for MongoDB. We’ll go straight to the terminal to see how Kubernetes and Operator actually handle database orchestration.
In this 101-level workshop, we will walk through:
- The “Why” and “How”: Understanding why Operators have replaced manual StatefulSets for managing complex data.
- Deployment Basics: Launching your first MongoDB Replica Set and understanding how Persistent Volume Claims (PVCs) keep your data alive when pods die.
- Connectivity: How to properly expose your database to applications inside and outside the cluster without compromising security.
- Backups: Configuring automated, S3-compatible backups from the start. We’ll cover how to define backup schedules and, crucially, how to perform a successful restore.
- Security: Setting up internal authentication and managing your first set of database secrets.
- Monitoring 101: Integrating with Percona Monitoring and Management (PMM) to see what’s actually happening inside your environment
Prerequisites: A laptop with a terminal to connect to a VM (which will have access to a K8s cluster). No prior MongoDB-on-K8s experience required.
Download imageSpeaker

During his career, Michal took different roles from a software engineer and business analyst to a technical sales consultant, always staying close to the technology. He has hands-on experience with a broad range of …

