Skip to content

percona/mongodb-orchestration-tools

Repository files navigation

mongodb-orchestration-tools

Build Status Go Report Card codecov

Go-based tools for MongoDB container orchestration.

Note: This code is intended for a specific integration/use case, therefore it is unlikely Issues or Pull Requests will be accepted from the public. Please fork if this is a concern.

Tools:

  • mongodb-executor: a tool for executing tasks on the local mongod/mongos container
  • mongodb-healthcheck: a tool for running MongoDB DC/OS health+readiness checks or Kubernetes liveness check
  • dcos-mongodb-controller: a tool for controlling the replica set initiation and adding system MongoDB users
  • dcos-mongodb-watchdog: a daemon to monitor dcos pod status and manage mongodb replica set membership
  • k8s-mongodb-initiator: a tool for replica set initiation and adding system MongoDB users

Use Case

The tools in this repository are designed to be used specifically within the DC/OS 'percona-server-mongodb' service or the Percona Server for MongoDB Operator.

Required

MongoDB

These tools were designed/tested for use with Percona Server for MongoDB 3.6 and above with Replication and Authentication enabled.

DC/OS

The minimum requirements are:

  1. DC/OS 1.10+ (1.11+ recommended)

Kubernetes Operator

The minimum requirements are:

  1. Kubernetes v1.10+

Build

  1. Install go1.11+ and 'make'
  2. Run 'make' in git directory
  3. Find binaries in 'bin' directory

Contact