SlideShare a Scribd company logo
MongoDB Enterprise Operator:
The MongoDB Enterprise Kubernetes Operator and OpenShift
Michael Grayson
Mark DeNeve
MongoDB Operator and OpenShift
Introduction
What is OpenShift
The Problem with Self Service
Databases in a Non-Persistent World
MongoDB Operator to the Rescue
Demo
Questions
A Little About Mike
I am a Database Engineer
I was a Software Engineer
I was a Helpdesk Support
I am not a Systems Engineer
I am not a Storage Engineer
I am not a Linux Admin
I am not a Kubernetes Admin
@mikegray831
mongomikeblog.wordpress.com
A Little About Mark
I am not a DBA
I am not a Developer
I was a Windows Admin
I am a Systems Engineer
I am a Storage Engineer
I am a Linux Admin
I am a Kubernetes Admin
@markdeneve
www.xphyr.net
Paychex
Paychex is a leading provider of integrated human capital management
solutions for payroll, HR, retirement, and insurance services. Backed by
46 years of industry expertise, Paychex serves approximately 605,000
payroll clients as of May 31, 2017, across more than 100 locations and
pays one out of every 12 American private sector employees.
#PaychexIsIT
• Paychex IT is:
• Linux
• Windows
• Docker
• Kubernetes
• OpenShift
• Azure
• MongoDB
• Kafka
• RabbitMQ
• Ansible
• Cassandra
• Redis
• Puppet
• OpenStack
• MySQL
• Microsoft SQL
Server
• Oracle
What is OpenShift
Containers
• Lightweight
• Portable
• Fast Startup Times
• Easy to Share
• Immutable
• Version Controlled
• Secure
Kubernetes
• Container Management and
Orchestration
• Open Source Project
• 52k+ Github Stars
• 18k+ Github Forks
• Started by Google in 2014
• Backed by Multiple Vendors
OpenShift - Enterprise Kubernetes
• Developer focused user experience
• More Secure by design
• Polished End User Experience
Two Versions:
• OpenShift – Backed by Red Hat Support
• OKD – Upstream OpenSource Distribution
OpenShift @Paychex
• In Production since 2015
• 20 Clusters accross two regions
• 7 in-place upgrades
• OpenShift hosted applications are
responsible for moving well over $500
billion per year at Paychex
Deploying an Application
• Deploying an Application leverages
simple YAML files
• Easy to Read
• Declarative
---
kind: "DeploymentConfig"
apiVersion: "v1"
metadata:
name: "ose-eventforwarder"
spec:
template:
metadata:
labels:
name: "ose-eventforwarder"
spec:
containers:
name: "ose-eventforwarder"
image: >-
hub.docker.io/mdeneve/myapp:latest
nodeSelector:
type: "infra"
replicas: 1
triggers:
-
type: "ConfigChange"
strategy:
type: "Rolling"
The Problem with Self Service
Developers are Clever!
• Shadow IT
• Tight Timelines
• Need to innovate Now
• “Just using it for testing”
• Always becomes PROD
Attribution: wocintechchat.com
Shadow IT
Tight Timelines
Need to Innovate Now
“Just using it for testing”
Shadow IT in Kubernetes is not Ideal
The GOOD
• Self Service
• Quick to Spin Up
• Quick to scale
• Works for simple use cases
The BAD
• No easy way to Get
DBAs involved
• Black Box is NOT always a
good thing
• No control over data and where
it is going
• Database Sprawl
Databases in a Non-Persistent World
Persistent Storage in Kubernetes
• Persistent Storage in Kubernetes is
Hard
• Complexity introduced when
a container can run anywhere
• Multiple Vendors, Multiple Solutions
• No good ways to back up data
• Lack of Enterprise Solutions
• Long Term Archival / Retrieval is a
challenge
Operators to the Rescue
Kubernetes Operators
• A method of packaging, deploying and
managing a Kubernetes application.
• A Kubernetes application is
• deployed on Kubernetes
• managed using the Kubernetes native tooling
• Think of Operators as the runtime that
manages this type of application on
Kubernetes.
MongoDB Operator to the Rescue
MongoDB Operator + MongoDB Ops Manager
• Features added by Mongo
• Deploy containers with MongoDB installed in
standard patterns
• Standalone
• Replica Set
• Sharded Cluster
• All the best of MongoDB Enterprise / Ops
Manager
• Security
• Backups/Restores
• Easy Upgrades
MongoDB Ops Manager / Cloud Manager
• Ops Manager/ Cloud Manager
• MongoDB Provided Monitoring /
Backup / Automation Solution
• Accepts API calls from Operator
to build MongoDB
Self Service, with Guide Rails
• How does MongoDB Operator Help guide
Devs?
• All the benefits of containerization, plus
• Security
• Standardization
• Same Deployment tools that are used in
production
• Easy remote management through Cloud
Manager
• "Push Button"
• Easy for Database Engineers / DevOps / SRE
teams to manage using current process
Deploying a MongoDB Server in OpenShift
• Leverages YAML (just like
everything else)
• Declarative in Nature
• Repeatable
• Shareable
---
apiVersion: mongodb.com/v1
kind: MongoDB
metadata:
name: myCluster
namespace: myNameSpace
spec:
shardCount: 2
mongodsPerShardCount: 3
mongosCount: 2
configServerCount: 3
version: 4.0.6
project: myProject
credentials: mySecret
type: ShardedCluster
persistent: true
...
Demo Time!
Demo Tasks?
• Create Database in OpenShift – prerecorded
• On the fly upgrade - live (but have recording)
• Scale Mongo Cluster up - live (but have recording)
What Does the Future Hold?
MongoDB Operator @ Paychex
• Sandbox Environment First
• Used in Non-Prod/Development Envs
• Automate data restores for test
• Prod will remain Separate Infrastructure
Upcoming Features of the MongoDB Operator
• Check out the 3 PM session in Nassau presented by Jason Mimick and
Andrey Belik for the full Roadmap!
Summary
• Save Devs from Themselves!
• Simplify infrastructure
• Keep ops teams involved (they exist for a reason!)
Questions?
Would You Like to Know More?
https://docs.mongodb.com/kubernetes-operator/master/installation/
Thank You!
@mikegray831
@markdeneve

More Related Content

What's hot (20)

PPTX
Micro Services in .NET Core and Docker
cjmyers
 
PPTX
Webinar: Get Started with the MEAN Stack
MongoDB
 
PPTX
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...
Javier García Magna
 
PPTX
Introducing MongoDB Atlas
MongoDB
 
PPTX
Microservice.net by sergey seletsky
Sergey Seletsky
 
PPTX
MicroServices on Azure
Sergey Seletsky
 
PDF
Serverless computing in Azure: Functions, Logic Apps and more!
Lorenzo Barbieri
 
PPTX
MVC 6 - the new unified Web programming model
Alex Thissen
 
PPTX
Architecting Microservices in .Net
Richard Banks
 
PPTX
MongoDB Atlas
MongoDB
 
PPTX
Tokyo azure meetup #12 service fabric internals
Tokyo Azure Meetup
 
PDF
Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...
ServerlessConf
 
PPTX
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB
 
PPTX
Power Real Estate Property Analytics with MongoDB + Spark
MongoDB
 
PDF
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB
 
PPTX
Data stores: beyond relational databases
Javier García Magna
 
PPTX
Building Microservices with .NET (speaker Anton Vasilenko, Binary Studio)
Binary Studio
 
PPTX
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Jeff Chu
 
PPTX
IPaaS 2.0: Fuse Integration Services (Robert Davies & Keith Babo)
Red Hat Developers
 
PPTX
Continuous Integration (& Mr Jenkins)
Ciro Donato Caiazzo
 
Micro Services in .NET Core and Docker
cjmyers
 
Webinar: Get Started with the MEAN Stack
MongoDB
 
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...
Javier García Magna
 
Introducing MongoDB Atlas
MongoDB
 
Microservice.net by sergey seletsky
Sergey Seletsky
 
MicroServices on Azure
Sergey Seletsky
 
Serverless computing in Azure: Functions, Logic Apps and more!
Lorenzo Barbieri
 
MVC 6 - the new unified Web programming model
Alex Thissen
 
Architecting Microservices in .Net
Richard Banks
 
MongoDB Atlas
MongoDB
 
Tokyo azure meetup #12 service fabric internals
Tokyo Azure Meetup
 
Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...
ServerlessConf
 
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB
 
Power Real Estate Property Analytics with MongoDB + Spark
MongoDB
 
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB
 
Data stores: beyond relational databases
Javier García Magna
 
Building Microservices with .NET (speaker Anton Vasilenko, Binary Studio)
Binary Studio
 
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Jeff Chu
 
IPaaS 2.0: Fuse Integration Services (Robert Davies & Keith Babo)
Red Hat Developers
 
Continuous Integration (& Mr Jenkins)
Ciro Donato Caiazzo
 

Similar to MongoDB World 2019: Using the MongoDB Enterprise Kubernetes Operator to Scale MongoDB Containers on Red Hat OpenShift (20)

PPTX
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
PPTX
Automate, monitor and manage MongoDB cluster deployment
Ashnikbiz
 
PPTX
How kubernetes operators can rescue dev secops in midst of a pandemic updated
Shikha Srivastava
 
PDF
MongoDB OpsManager and Kubernetes
MongoDB
 
PDF
Crafting Kubernetes Operators
Red Hat Developers
 
PDF
MongoDB .local Munich 2019: Mastering MongoDB on Kubernetes – MongoDB Enterpr...
MongoDB
 
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
PDF
Red Hat OpenShift Operators - Operators ABC
Robert Bohne
 
PPTX
Introducing Ops Manager
MongoDB
 
PPTX
Demystifying k8s operators
Suman Chakraborty
 
PPTX
Ops manager webinar mar 5, 2015
MongoDB
 
PPTX
Premiers pas avec Ops Manager
MongoDB
 
PPTX
Mastering MongoDB on Kubernetes, the power of operators
DoKC
 
PDF
DevConf.cz - Introduction to Kubernetes Operators for Databases
Juarez Junior
 
PDF
Meetup Openshift Geneva 03/10
MagaliDavidCruz
 
PPTX
An Introduction to MongoDB Ops Manager
MongoDB
 
PPTX
Database as a Service (DBaaS) on Kubernetes
ObjectRocket
 
PPTX
How to manage state with a Kubernetes Application
Bahubali Shetti
 
PDF
Operatorhub.io and your Kubernetes cluster | DevNation Tech Talk
Red Hat Developers
 
PDF
MongoDB .local London 2019: Using MongoDB Services in Kubernetes: Any Platfor...
MongoDB
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
Automate, monitor and manage MongoDB cluster deployment
Ashnikbiz
 
How kubernetes operators can rescue dev secops in midst of a pandemic updated
Shikha Srivastava
 
MongoDB OpsManager and Kubernetes
MongoDB
 
Crafting Kubernetes Operators
Red Hat Developers
 
MongoDB .local Munich 2019: Mastering MongoDB on Kubernetes – MongoDB Enterpr...
MongoDB
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
Red Hat OpenShift Operators - Operators ABC
Robert Bohne
 
Introducing Ops Manager
MongoDB
 
Demystifying k8s operators
Suman Chakraborty
 
Ops manager webinar mar 5, 2015
MongoDB
 
Premiers pas avec Ops Manager
MongoDB
 
Mastering MongoDB on Kubernetes, the power of operators
DoKC
 
DevConf.cz - Introduction to Kubernetes Operators for Databases
Juarez Junior
 
Meetup Openshift Geneva 03/10
MagaliDavidCruz
 
An Introduction to MongoDB Ops Manager
MongoDB
 
Database as a Service (DBaaS) on Kubernetes
ObjectRocket
 
How to manage state with a Kubernetes Application
Bahubali Shetti
 
Operatorhub.io and your Kubernetes cluster | DevNation Tech Talk
Red Hat Developers
 
MongoDB .local London 2019: Using MongoDB Services in Kubernetes: Any Platfor...
MongoDB
 
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 
PDF
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
MongoDB
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
MongoDB
 
Ad

Recently uploaded (20)

PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
PDF
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
Talbott's brief History of Computers for CollabDays Hamburg 2025
Talbott Crowell
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PPTX
Wondershare Filmora Crack Free Download 2025
josanj305
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
“ONNX and Python to C++: State-of-the-art Graph Compilation,” a Presentation ...
Edge AI and Vision Alliance
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Talbott's brief History of Computers for CollabDays Hamburg 2025
Talbott Crowell
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Wondershare Filmora Crack Free Download 2025
josanj305
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
“ONNX and Python to C++: State-of-the-art Graph Compilation,” a Presentation ...
Edge AI and Vision Alliance
 

MongoDB World 2019: Using the MongoDB Enterprise Kubernetes Operator to Scale MongoDB Containers on Red Hat OpenShift

  • 1. MongoDB Enterprise Operator: The MongoDB Enterprise Kubernetes Operator and OpenShift Michael Grayson Mark DeNeve
  • 2. MongoDB Operator and OpenShift Introduction What is OpenShift The Problem with Self Service Databases in a Non-Persistent World MongoDB Operator to the Rescue Demo Questions
  • 3. A Little About Mike I am a Database Engineer I was a Software Engineer I was a Helpdesk Support I am not a Systems Engineer I am not a Storage Engineer I am not a Linux Admin I am not a Kubernetes Admin @mikegray831 mongomikeblog.wordpress.com
  • 4. A Little About Mark I am not a DBA I am not a Developer I was a Windows Admin I am a Systems Engineer I am a Storage Engineer I am a Linux Admin I am a Kubernetes Admin @markdeneve www.xphyr.net
  • 5. Paychex Paychex is a leading provider of integrated human capital management solutions for payroll, HR, retirement, and insurance services. Backed by 46 years of industry expertise, Paychex serves approximately 605,000 payroll clients as of May 31, 2017, across more than 100 locations and pays one out of every 12 American private sector employees.
  • 6. #PaychexIsIT • Paychex IT is: • Linux • Windows • Docker • Kubernetes • OpenShift • Azure • MongoDB • Kafka • RabbitMQ • Ansible • Cassandra • Redis • Puppet • OpenStack • MySQL • Microsoft SQL Server • Oracle
  • 8. Containers • Lightweight • Portable • Fast Startup Times • Easy to Share • Immutable • Version Controlled • Secure
  • 9. Kubernetes • Container Management and Orchestration • Open Source Project • 52k+ Github Stars • 18k+ Github Forks • Started by Google in 2014 • Backed by Multiple Vendors
  • 10. OpenShift - Enterprise Kubernetes • Developer focused user experience • More Secure by design • Polished End User Experience Two Versions: • OpenShift – Backed by Red Hat Support • OKD – Upstream OpenSource Distribution
  • 11. OpenShift @Paychex • In Production since 2015 • 20 Clusters accross two regions • 7 in-place upgrades • OpenShift hosted applications are responsible for moving well over $500 billion per year at Paychex
  • 12. Deploying an Application • Deploying an Application leverages simple YAML files • Easy to Read • Declarative --- kind: "DeploymentConfig" apiVersion: "v1" metadata: name: "ose-eventforwarder" spec: template: metadata: labels: name: "ose-eventforwarder" spec: containers: name: "ose-eventforwarder" image: >- hub.docker.io/mdeneve/myapp:latest nodeSelector: type: "infra" replicas: 1 triggers: - type: "ConfigChange" strategy: type: "Rolling"
  • 13. The Problem with Self Service
  • 14. Developers are Clever! • Shadow IT • Tight Timelines • Need to innovate Now • “Just using it for testing” • Always becomes PROD Attribution: wocintechchat.com
  • 18. “Just using it for testing”
  • 19. Shadow IT in Kubernetes is not Ideal The GOOD • Self Service • Quick to Spin Up • Quick to scale • Works for simple use cases The BAD • No easy way to Get DBAs involved • Black Box is NOT always a good thing • No control over data and where it is going • Database Sprawl
  • 20. Databases in a Non-Persistent World
  • 21. Persistent Storage in Kubernetes • Persistent Storage in Kubernetes is Hard • Complexity introduced when a container can run anywhere • Multiple Vendors, Multiple Solutions • No good ways to back up data • Lack of Enterprise Solutions • Long Term Archival / Retrieval is a challenge
  • 23. Kubernetes Operators • A method of packaging, deploying and managing a Kubernetes application. • A Kubernetes application is • deployed on Kubernetes • managed using the Kubernetes native tooling • Think of Operators as the runtime that manages this type of application on Kubernetes.
  • 24. MongoDB Operator to the Rescue
  • 25. MongoDB Operator + MongoDB Ops Manager • Features added by Mongo • Deploy containers with MongoDB installed in standard patterns • Standalone • Replica Set • Sharded Cluster • All the best of MongoDB Enterprise / Ops Manager • Security • Backups/Restores • Easy Upgrades
  • 26. MongoDB Ops Manager / Cloud Manager • Ops Manager/ Cloud Manager • MongoDB Provided Monitoring / Backup / Automation Solution • Accepts API calls from Operator to build MongoDB
  • 27. Self Service, with Guide Rails • How does MongoDB Operator Help guide Devs? • All the benefits of containerization, plus • Security • Standardization • Same Deployment tools that are used in production • Easy remote management through Cloud Manager • "Push Button" • Easy for Database Engineers / DevOps / SRE teams to manage using current process
  • 28. Deploying a MongoDB Server in OpenShift • Leverages YAML (just like everything else) • Declarative in Nature • Repeatable • Shareable --- apiVersion: mongodb.com/v1 kind: MongoDB metadata: name: myCluster namespace: myNameSpace spec: shardCount: 2 mongodsPerShardCount: 3 mongosCount: 2 configServerCount: 3 version: 4.0.6 project: myProject credentials: mySecret type: ShardedCluster persistent: true ...
  • 30. Demo Tasks? • Create Database in OpenShift – prerecorded • On the fly upgrade - live (but have recording) • Scale Mongo Cluster up - live (but have recording)
  • 31. What Does the Future Hold?
  • 32. MongoDB Operator @ Paychex • Sandbox Environment First • Used in Non-Prod/Development Envs • Automate data restores for test • Prod will remain Separate Infrastructure
  • 33. Upcoming Features of the MongoDB Operator • Check out the 3 PM session in Nassau presented by Jason Mimick and Andrey Belik for the full Roadmap!
  • 34. Summary • Save Devs from Themselves! • Simplify infrastructure • Keep ops teams involved (they exist for a reason!)
  • 36. Would You Like to Know More? https://docs.mongodb.com/kubernetes-operator/master/installation/