Skip to content

Latest commit

 

History

History

README.md

MongoDB Controllers for Kubernetes (MCK) - Community

This directory and readme cover use of the MongoDB Controllers for Kubernetes (MCK) Operator being used for running MongoDB Community into Kubernetes clusters.

If you are a MongoDB Enterprise customer and need Enterprise features such as Backup, see the official documentation .

Documentation

See the documentation to learn how to:

Supported Features

The Operator support of MongoDB Community Edition includes the following:

  • 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
  • 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
  • Enable a metrics target that can be used with Prometheus

Linting

This project uses the following linters upon every Pull Request:

  • gosec is a tool that find security problems in the code
  • Black is a tool that verifies if Python code is properly formatted
  • MyPy is a Static Type Checker for Python
  • Kube-linter is a tool that verified if all Kubernetes YAML manifests are formatted correctly
  • Go vet A built-in Go static checker
  • Snyk The vulnerability scanner

Table of Contents