Percona Server for MongoDB (PSMDB) is an open-source enterprise MongoDB solution that helps you to ensure data availability for your applications while improving security and simplifying the development of new applications in the most demanding public, private, and hybrid cloud environments.
Based on our best practices for deployment and configuration, Percona Operator for MongoDB contains everything you need to quickly and consistently deploy and scale Percona Server for MongoDB instances into a Kubernetes cluster on-premises or in the cloud. It provides the following capabilities:
- Easy deployment with no single point of failure
- Sharding support
- Scheduled and manual backups
- Integrated monitoring with Percona Monitoring and Management
- Smart Update to keep your database software up to date automatically
- Automated Password Rotation – use the standard Kubernetes API to enforce password rotation policies for system user
- Private container image registries
Percona Operators are based on the Operator SDK and leverage Kubernetes primitives to follow best CNCF practices.
Please read more about architecture and design decisions here.
Install the Operator:
helm install my-op percona/psmdb-operator
Install Percona Server for MongoDB:
helm install my-db percona/psmdb-db
See more details in:
- Helm installation documentation
- Operator helm chart parameter reference
- Percona Server for MongoDB helm chart parameters reference
It usually takes two steps to deploy Percona Server for MongoDB on Kubernetes:
Deploy the operator from deploy/bundle.yaml
:
kubectl apply --server-side -f https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/main/deploy/bundle.yaml
Deploy the database cluster itself from `deploy/cr.yaml
kubectl apply -f https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/main/deploy/cr-minimal.yaml
See full documentation with examples and various advanced cases on percona.com.
Percona welcomes and encourages community contributions to help improve Percona Kubernetes Operator for Percona Server for MongoDB.
See the Contribution Guide and Building and Testing Guide for more information.
% _____
%%% | __ \
###%%%%%%%%%%%%* | |__) |__ _ __ ___ ___ _ __ __ _
### ##%% %%%% | ___/ _ \ '__/ __/ _ \| '_ \ / _` |
#### ##% %%%% | | | __/ | | (_| (_) | | | | (_| |
### #### %%% |_| \___|_| \___\___/|_| |_|\__,_|
,((### ### %%% _ _ _____ _
(((( (### #### %%%% | | / _ \ / ____| | |
((( ((# ###### | | _| (_) |___ | (___ __ _ _ _ __ _ __| |
(((( (((# #### | |/ /> _ </ __| \___ \ / _` | | | |/ _` |/ _` |
/(( ,((( *### | <| (_) \__ \ ____) | (_| | |_| | (_| | (_| |
//// ((( #### |_|\_\\___/|___/ |_____/ \__, |\__,_|\__,_|\__,_|
/// (((( #### | |
/////////////(((((((((((((((((######## |_| Join @ percona.com/k8s
You can get early access to new product features, invite-only ”ask me anything” sessions with Percona Kubernetes experts, and monthly swag raffles. Interested? Fill in the form at percona.com/k8s.
We have an experimental public roadmap which can be found here. Please feel free to contribute and propose new features by following the roadmap guidelines.
If you find a bug in Percona Docker Images or in one of the related projects, please submit a report to that project's JIRA issue tracker. Learn more about submitting bugs, new features ideas and improvements in the Contribution Guide.