☁️ MongoDB Community Kubernetes Operator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
James Broadhead 0f07b20b87
CLOUDP-85550: mark github issues stale (#434)
1 day ago
.github CLOUDP-85550: mark github issues stale (#434) 1 day ago
agent Cloudp 84351 add agent images to dockerfile generator (#420) 2 weeks ago
api/v1 Changed FCV handling when upgrading (#412) 3 weeks ago
build/bin CLOUDP-82159: Upgrade to operator-sdk v1.4.0 (#327) 2 months ago
cmd CLOUDP-87241: Fix readiness probe check for MongoDB up (#429) 3 days ago
config CLOUD-84084 Added - mongodbcommunity/finalizers to role. Fixes the StatefulSet creation on OpenShift 4.5 (#402) 3 weeks ago
controllers Export full automation command (#413) 3 weeks ago
deploy CLOUD-84084 Added - mongodbcommunity/finalizers to role. Fixes the StatefulSet creation on OpenShift 4.5 (#402) 3 weeks ago
dev_notes Changed FCV handling when upgrading (#412) 3 weeks ago
docs Added MANAGED_SECURITY_CONTEXT check and refactored env vars (#401) 3 weeks ago
hack CLOUDP-82159: Upgrade to operator-sdk v1.4.0 (#327) 2 months ago
pkg State Machine Design #1 (#427) 2 days ago
scripts CLOUDP-83092: Add release task for init containers (#433) 1 day ago
test/e2e Changed FCV handling when upgrading (#412) 3 weeks ago
testbin CLOUDP-82159: Upgrade to operator-sdk v1.4.0 (#327) 2 months ago
testdata/tls CLOUDP-66615: Add support for rotation of TLS certificates and keys (#122) 9 months ago
version Folder restructure 1 year ago
.dockerignore Headless mode readiness probe (#192) 7 months ago
.evergreen.yml CLOUDP-83092: Add release task for init containers (#433) 1 day ago
.gitignore CLOUDP-83092: Add sonar inventory (#422) 2 days ago
.golangci.yml Go linting pre commit hook (#88) 9 months ago
APACHE2 add copyright (#329) 2 months ago
CODE_OF_CONDUCT.md Added code of conduct and Security (#377) 1 month ago
LICENSE.md CLOUDP-74932: Update Agent License (#220) 6 months ago
Makefile Removed dependency on version manifest (#335) 2 months ago
PROJECT CLOUDP-82159: Upgrade to operator-sdk v1.4.0 (#327) 2 months ago
README.md Update README.md (#373) 1 month ago
SECURITY.md Added code of conduct and Security (#377) 1 month ago
go.mod Bump go.mongodb.org/mongo-driver from 1.5.0 to 1.5.1 (#418) 2 weeks ago
go.sum Bump go.mongodb.org/mongo-driver from 1.5.0 to 1.5.1 (#418) 2 weeks ago
inventory.yaml CLOUDP-83092: Add release task for init containers (#433) 1 day ago
mypy.ini Move black formatting to GitHub action (#322) 2 months ago
pipeline.py CLOUDP-83092: Add release task for init containers (#433) 1 day ago
release.json Use readinessProbe 1.0.3 (#430) 2 days ago
requirements.txt CLOUDP-83092: Add sonar inventory (#422) 2 days ago
tools.go Folder restructure 1 year ago

README.md

MongoDB Community Kubernetes Operator

This is a Kubernetes Operator which deploys MongoDB Community into Kubernetes clusters.

If you are a MongoDB Enterprise customer, or need Enterprise features such as Backup, you can use the MongoDB Enterprise Operator for Kubernetes.

Here is a talk from MongoDB Live 2020 about the Community Operator:

Table of Contents

Documentation

See the documentation to learn how to:

  1. Install or upgrade the Operator.
  2. Deploy and configure MongoDB resources.
  3. Create a database user with SCRAM authentication.
  4. Secure MongoDB resource connections using TLS.

Supported Features

The MongoDB Community Kubernetes Operator supports the following features:

  • Create replica sets
  • Upgrade and downgrade MongoDB server version
  • Scale replica sets up and down
  • Read from and write to the replica set while scaling, upgrading, and downgrading. These operations are done in an "always up" manner.
  • Report MongoDB server state via the MongoDBCommunity resource status field
  • Use any of the available Docker MongoDB images
  • Connect to the replica set from inside the Kubernetes cluster (no external connectivity)
  • Secure client-to-server and server-to-server connections with TLS
  • Create users with SCRAM authentication
  • Create custom roles

Planned Features

  • Server internal authentication via keyfile

Contribute

Before you contribute to the MongoDB Community Kubernetes Operator, please read:

Please file issues before filing PRs. For PRs to be accepted, contributors must sign our CLA.

Reviewers, please ensure that the CLA has been signed by referring to the contributors tool (internal link).

License

Please see the LICENSE file.