SlideShare a Scribd company logo
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Mastering MongoDB in
Kubernetes - MDB Enterprise
Operator for Kubernetes
Amadeus
Dr. Michael Ehrig,
Arkadiusz Borucki
2
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Back in the day at a travel agency…
FRA IST SLC
DEN SIN PHL
YYZ YUL PHX TLV PEK
HND SYD ICN DEL
CLT BOM DUB
SEA
BRU ORD CTU
LAX MNL MSP CGK VKO
CDG BCN EWR RCO CAN
FCO MCO KUL SAN
DFW
GRU HKG LGW AMS
Now, you have the personalized travel agent in your hand …
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Personalized
Tailor-made experiences
unique to the traveler’s
preferences
A smooth, door-to-
door experience
Connected
3
Agenda
4
40 minutes
_Amadeus MongoDB infrastructure
_Making use of REST API
_What are Kubernetes operators
_Introducing the MongoDB Enterprise Operator
_Demo: Deploying a Shard Cluster
Amadeus mission: Enriching every step of the traveler’s journey
©AmadeusITGroupanditsaffiliatesandsubsidiaries
5
On-trip
Post-trip
Inspire
Shop
Book
Pre-trip
_ We are one of the world’s top 10
enterprise software companies*
_ We are dedicated to the global
travel industry and our solutions
enrich travel for billions of
people every year
_ We are present in 190+ countries
and employ 17,000+ people
worldwide
_ We work together with our
customers, partners and other
players in the industry to improve
business performance and shape
the future of travel
Amadeus in a few words
*Forbes 2018 global rankings
630+ million
Total bookings
processed in 2017
630+ million
Total bookings
processed in 2017
1.6+ billion
Passengers
boarded in 2017
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Amadeus: Business & business partners / customers
6
Bookings, Reservations,
Boarding, Tracking, etc.
Searching, Shopping,
Checking, Marking, etc.
©AmadeusITGroupanditsaffiliatesandsubsidiaries
2. MongoDB @
Amadeus
8
©AmadeusITGroupanditsaffiliatesandsubsidiaries
MongoDB deployment @ huge scale!
8
Ops
Managers
4
Multi Data
Centers
Cluster
Size
130TB
Micro
sharding
68
MongoD
processes
Cloud
6500 GCE, OVH,
OpenStack
72
Nodes per
cluster
168
Shards
MongoDB deployment @ huge scale!
9
_ Instant searching - flight recommendations data
3 huge MongoDB clusters 75TB, 108TB, 130 TB with 2 ms (avg) response time
_ MongoDB cluster with 168 shards (micro-shard)
_ Data agregation from multiple sources into a central cluster - A Single View application
_ Apache Spark on MongoDB – fraud detection - run machine learning on MongoDB
_ MongoDB Amadeus Payments - payment flows
_ Dashboards, scheduling tools, change viewers, applications error
viewers, and more
What is MongoDB Ops Manager?
MongoDB Ops Manager makes it fast
and easy for you to deploy, monitor,
upgrade, back up and scale your
MongoDB deployment
REST API for Operations
12
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Kubernetes - how to operate smarter
_ There are many ways to deploy and operate apps and MongoDB
_ Why Kubernetes ? Why Operator ?
_ Fewer manual tasks, more automated failure recovery
_ Your company can provide MongoDB as a Service
Easy access to production-ready MongoDB with a single click or command
_ Build consistent and identical environments!
_ Speed!
©AmadeusITGroupanditsaffiliatesandsubsidiaries
4. The future
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Knowledge as a code
14
_ You can extend the
Kubernetes API with
CustomResourceDefinitions
_ Enables developers to add
new/replace old
functionalities
_ Custom Controllers allow you
to write app to manage
another like stateful
MongoDB database
_ Operators will change/simplify
the way how we manage
databases / replace already
created automation
Operator represents human
operational knowledge as a
code to reliably manage an
application
Kubernetes 1.7 add
Custom Controllers
feature
An Operator is set of
app-specific custom
controllers.
Controllers have
direct access to
Kubernetes API
16
MongoDB Enterprise Operator for Kubernetes
Ops Manager
features on K8s
cluster!
K8s API and Ops Manager
integration
Controller,
extends the
Kubernetes API
Operator for Kubernetes supports:
_ pod’s backup, automation, monitoring
_ provisioning StatefulSets for replica set
_ creates deployment in Ops Manager
project
_ automates cluster provisioning,
scalability, auto recovery, logging
_ automates common tasks, to achieve
the desired state
_ security - tls
_ Ops Manager on K8s!
Operator architecture
17
Operator architecture
18
Operator architecture
19
Operator architecture
20
Operator architecture
21
Operator architecture
22
23
How is Operator built ?
Application
specific
controllers
Custom
Resource
_ Custom Resource allow us to define
your own resources in the Kubernetes
API using CustomResourceDefinition
_ Additinal resource is available via
Kubernets API
_ Perform CRUD operations upon them
_ Interact with threm via kubectl
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: mongodb.mongodb.com
.............
oneOf:
- properties: # MongoDBOpsManager
- properties: # ReplicaSet schema
- properties: # ShardedCluster schema
components
Custom resources
24
---
apiVersion: mongodb.com/v1
kind: MongoDB
metadata:
name: my-sharded-cluster
spec:
type: ShardedCluster
shardCount: 2
mongodsPerShardCount: 3
mongosCount: 2
configServerCount: 3
version: 4.0.6
---
apiVersion: mongodb.com/v1
kind: MongoDBOpsManager
metadata:
name: my-replica-set
spec:
members: 3
version: 4.0.6
service: internal-db
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Controllers
25
_ Observe the actual state
_ Analyse difference from
desired state
_ Take action
_ Drive the actual state
towards the desired stare
_ Repeat!
Observe
Analyse
Act
my-replica set has 2 running
pods
Differs from desired state of
3 replicas (pods)
Action:
- Start a pod
- Add pod to the cluster
- Waiting for replication
©AmadeusITGroupanditsaffiliatesandsubsidiaries
3. Live Demo
Sharded Cluster
27
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Let’s shape the
future of travel
together
NoSQL
Private Cloud
Compliance & MonitoringNetwork
Storage
-V
-T

More Related Content

PDF
MongoDB .local Chicago 2019: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB .local Chicago 2019: A MongoDB Journey: Moving from a relational data...
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
PDF
MongoDB World 2019: Ticketek: Scaling to Global Ticket Sales with MongoDB Atlas
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB on Azure
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB .local Chicago 2019: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local Chicago 2019: A MongoDB Journey: Moving from a relational data...
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB World 2019: Ticketek: Scaling to Global Ticket Sales with MongoDB Atlas
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB on Azure
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...

What's hot (20)

PDF
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
PDF
MongoDB World 2019: MongoDB in Data Science: How to Build a Scalable Product ...
PDF
MongoDB .local Munich 2019: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
PPTX
Power Real Estate Property Analytics with MongoDB + Spark
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
PDF
10 - MongoDB
PDF
MongoDB .local Munich 2019: MongoDB Atlas Auto-Scaling
PPTX
MongoDB Atlas
PDF
MongoDB .local Bengaluru 2019: MongoDB Atlas Data Lake Technical Deep Dive
PPTX
MongoDB .local Munich 2019: Telediagnosis@Daimler powered by MongoDB
PPTX
MongoDB and Azure Databricks
PDF
MongoDB: Agile Combustion Engine
PPTX
Introducing MongoDB Atlas
PDF
From RDBMS to MongoDB
PDF
MongoDB Ops Manager + Kubernetes
PPTX
MongoDB Evenings DC: Get MEAN and Lean with Docker and Kubernetes
PDF
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
PDF
MongoDB .local Paris 2020: Les bonnes pratiques pour travailler avec les donn...
PDF
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
MongoDB World 2019: MongoDB in Data Science: How to Build a Scalable Product ...
MongoDB .local Munich 2019: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
Power Real Estate Property Analytics with MongoDB + Spark
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
10 - MongoDB
MongoDB .local Munich 2019: MongoDB Atlas Auto-Scaling
MongoDB Atlas
MongoDB .local Bengaluru 2019: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local Munich 2019: Telediagnosis@Daimler powered by MongoDB
MongoDB and Azure Databricks
MongoDB: Agile Combustion Engine
Introducing MongoDB Atlas
From RDBMS to MongoDB
MongoDB Ops Manager + Kubernetes
MongoDB Evenings DC: Get MEAN and Lean with Docker and Kubernetes
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB .local Paris 2020: Les bonnes pratiques pour travailler avec les donn...
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
Ad

Similar to MongoDB .local Munich 2019: Mastering MongoDB on Kubernetes – MongoDB Enterprise Operator for K8s (20)

PDF
MongoDB World 2019: Mastering MongoDB in Kubernetes
PDF
MongoDB OpsManager and Kubernetes
PPTX
MongoDB Ops Manager and Kubernetes - James Broadhead
PDF
MongoDB .local London 2019: Using MongoDB Services in Kubernetes: Any Platfor...
PPTX
Mastering MongoDB on Kubernetes, the power of operators
PPTX
Ops manager webinar mar 5, 2015
PDF
MongoDB World 2019: Using the MongoDB Enterprise Kubernetes Operator to Scale...
PPTX
An Introduction to MongoDB Ops Manager
PPTX
Premiers pas avec Ops Manager
PDF
Shaping the Future of Travel with MongoDB
PPTX
Introducing Ops Manager
PPTX
MongoDB World 2018: Supercharge Your MongoDB Deployment with Ops Manager Auto...
PPTX
How to manage state with a Kubernetes Application
PPTX
Demystifying k8s operators
PDF
Building Your Own MongoDB as a Service Offering
PPTX
Ops Jumpstart: MongoDB Administration 101
PPTX
Automate, monitor and manage MongoDB cluster deployment
PDF
MongoDB .local Bengaluru 2019: Using MongoDB Services in Kubernetes: Any Plat...
PPTX
Webinar: Enterprise Trends for Database-as-a-Service
PPTX
MongoDB and DigitalOcean Automation with Cloud Manager
MongoDB World 2019: Mastering MongoDB in Kubernetes
MongoDB OpsManager and Kubernetes
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB .local London 2019: Using MongoDB Services in Kubernetes: Any Platfor...
Mastering MongoDB on Kubernetes, the power of operators
Ops manager webinar mar 5, 2015
MongoDB World 2019: Using the MongoDB Enterprise Kubernetes Operator to Scale...
An Introduction to MongoDB Ops Manager
Premiers pas avec Ops Manager
Shaping the Future of Travel with MongoDB
Introducing Ops Manager
MongoDB World 2018: Supercharge Your MongoDB Deployment with Ops Manager Auto...
How to manage state with a Kubernetes Application
Demystifying k8s operators
Building Your Own MongoDB as a Service Offering
Ops Jumpstart: MongoDB Administration 101
Automate, monitor and manage MongoDB cluster deployment
MongoDB .local Bengaluru 2019: Using MongoDB Services in Kubernetes: Any Plat...
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB and DigitalOcean Automation with Cloud Manager
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
PDF
MongoDB .local Paris 2020: Tout savoir sur le moteur de recherche Full Text S...
PDF
MongoDB .local Paris 2020: Adéo @MongoDB : MongoDB Atlas & Leroy Merlin : et ...
PDF
MongoDB .local Paris 2020: Devenez explorateur de données avec MongoDB Charts
PDF
MongoDB .local Paris 2020: La puissance du Pipeline d'Agrégation de MongoDB
PDF
MongoDB .local Toronto 2019: Keep your Business Safe and Scaling Holistically...
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Tout savoir sur le moteur de recherche Full Text S...
MongoDB .local Paris 2020: Adéo @MongoDB : MongoDB Atlas & Leroy Merlin : et ...
MongoDB .local Paris 2020: Devenez explorateur de données avec MongoDB Charts
MongoDB .local Paris 2020: La puissance du Pipeline d'Agrégation de MongoDB
MongoDB .local Toronto 2019: Keep your Business Safe and Scaling Holistically...

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Cloud computing and distributed systems.
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Empathic Computing: Creating Shared Understanding
PDF
KodekX | Application Modernization Development
PDF
Electronic commerce courselecture one. Pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Dropbox Q2 2025 Financial Results & Investor Presentation
Digital-Transformation-Roadmap-for-Companies.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation_ Review paper, used for researhc scholars
Programs and apps: productivity, graphics, security and other tools
Spectroscopy.pptx food analysis technology
Cloud computing and distributed systems.
MYSQL Presentation for SQL database connectivity
20250228 LYD VKU AI Blended-Learning.pptx
Machine learning based COVID-19 study performance prediction
Empathic Computing: Creating Shared Understanding
KodekX | Application Modernization Development
Electronic commerce courselecture one. Pdf

MongoDB .local Munich 2019: Mastering MongoDB on Kubernetes – MongoDB Enterprise Operator for K8s

  • 1. ©AmadeusITGroupanditsaffiliatesandsubsidiaries Mastering MongoDB in Kubernetes - MDB Enterprise Operator for Kubernetes Amadeus Dr. Michael Ehrig, Arkadiusz Borucki
  • 2. 2 ©AmadeusITGroupanditsaffiliatesandsubsidiaries Back in the day at a travel agency… FRA IST SLC DEN SIN PHL YYZ YUL PHX TLV PEK HND SYD ICN DEL CLT BOM DUB SEA BRU ORD CTU LAX MNL MSP CGK VKO CDG BCN EWR RCO CAN FCO MCO KUL SAN DFW GRU HKG LGW AMS
  • 3. Now, you have the personalized travel agent in your hand … ©AmadeusITGroupanditsaffiliatesandsubsidiaries Personalized Tailor-made experiences unique to the traveler’s preferences A smooth, door-to- door experience Connected 3
  • 4. Agenda 4 40 minutes _Amadeus MongoDB infrastructure _Making use of REST API _What are Kubernetes operators _Introducing the MongoDB Enterprise Operator _Demo: Deploying a Shard Cluster
  • 5. Amadeus mission: Enriching every step of the traveler’s journey ©AmadeusITGroupanditsaffiliatesandsubsidiaries 5 On-trip Post-trip Inspire Shop Book Pre-trip _ We are one of the world’s top 10 enterprise software companies* _ We are dedicated to the global travel industry and our solutions enrich travel for billions of people every year _ We are present in 190+ countries and employ 17,000+ people worldwide _ We work together with our customers, partners and other players in the industry to improve business performance and shape the future of travel Amadeus in a few words *Forbes 2018 global rankings 630+ million Total bookings processed in 2017 630+ million Total bookings processed in 2017 1.6+ billion Passengers boarded in 2017
  • 6. ©AmadeusITGroupanditsaffiliatesandsubsidiaries Amadeus: Business & business partners / customers 6 Bookings, Reservations, Boarding, Tracking, etc. Searching, Shopping, Checking, Marking, etc.
  • 8. 8 ©AmadeusITGroupanditsaffiliatesandsubsidiaries MongoDB deployment @ huge scale! 8 Ops Managers 4 Multi Data Centers Cluster Size 130TB Micro sharding 68 MongoD processes Cloud 6500 GCE, OVH, OpenStack 72 Nodes per cluster 168 Shards
  • 9. MongoDB deployment @ huge scale! 9 _ Instant searching - flight recommendations data 3 huge MongoDB clusters 75TB, 108TB, 130 TB with 2 ms (avg) response time _ MongoDB cluster with 168 shards (micro-shard) _ Data agregation from multiple sources into a central cluster - A Single View application _ Apache Spark on MongoDB – fraud detection - run machine learning on MongoDB _ MongoDB Amadeus Payments - payment flows _ Dashboards, scheduling tools, change viewers, applications error viewers, and more
  • 10. What is MongoDB Ops Manager? MongoDB Ops Manager makes it fast and easy for you to deploy, monitor, upgrade, back up and scale your MongoDB deployment
  • 11. REST API for Operations
  • 12. 12 ©AmadeusITGroupanditsaffiliatesandsubsidiaries Kubernetes - how to operate smarter _ There are many ways to deploy and operate apps and MongoDB _ Why Kubernetes ? Why Operator ? _ Fewer manual tasks, more automated failure recovery _ Your company can provide MongoDB as a Service Easy access to production-ready MongoDB with a single click or command _ Build consistent and identical environments! _ Speed!
  • 14. ©AmadeusITGroupanditsaffiliatesandsubsidiaries Knowledge as a code 14 _ You can extend the Kubernetes API with CustomResourceDefinitions _ Enables developers to add new/replace old functionalities _ Custom Controllers allow you to write app to manage another like stateful MongoDB database _ Operators will change/simplify the way how we manage databases / replace already created automation Operator represents human operational knowledge as a code to reliably manage an application Kubernetes 1.7 add Custom Controllers feature An Operator is set of app-specific custom controllers. Controllers have direct access to Kubernetes API
  • 15. 16 MongoDB Enterprise Operator for Kubernetes Ops Manager features on K8s cluster! K8s API and Ops Manager integration Controller, extends the Kubernetes API Operator for Kubernetes supports: _ pod’s backup, automation, monitoring _ provisioning StatefulSets for replica set _ creates deployment in Ops Manager project _ automates cluster provisioning, scalability, auto recovery, logging _ automates common tasks, to achieve the desired state _ security - tls _ Ops Manager on K8s!
  • 22. 23 How is Operator built ? Application specific controllers Custom Resource _ Custom Resource allow us to define your own resources in the Kubernetes API using CustomResourceDefinition _ Additinal resource is available via Kubernets API _ Perform CRUD operations upon them _ Interact with threm via kubectl --- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: mongodb.mongodb.com ............. oneOf: - properties: # MongoDBOpsManager - properties: # ReplicaSet schema - properties: # ShardedCluster schema components
  • 23. Custom resources 24 --- apiVersion: mongodb.com/v1 kind: MongoDB metadata: name: my-sharded-cluster spec: type: ShardedCluster shardCount: 2 mongodsPerShardCount: 3 mongosCount: 2 configServerCount: 3 version: 4.0.6 --- apiVersion: mongodb.com/v1 kind: MongoDBOpsManager metadata: name: my-replica-set spec: members: 3 version: 4.0.6 service: internal-db
  • 24. ©AmadeusITGroupanditsaffiliatesandsubsidiaries Controllers 25 _ Observe the actual state _ Analyse difference from desired state _ Take action _ Drive the actual state towards the desired stare _ Repeat! Observe Analyse Act my-replica set has 2 running pods Differs from desired state of 3 replicas (pods) Action: - Start a pod - Add pod to the cluster - Waiting for replication
  • 27. ©AmadeusITGroupanditsaffiliatesandsubsidiaries Let’s shape the future of travel together NoSQL Private Cloud Compliance & MonitoringNetwork Storage -V -T