Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

alibaba-archive/apsara-mongo-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApsaraMongoAgent is a suit of docker agents used for ApsaraDB for MongoDB(https://github.com/alibaba/mongo) written in python.

It contains three docker images: mongo_startup_docker---->will build the docker for installing and starting up a mongod instance. It contains:

                Dockerfile              The file to build the docker
                mongo_docker_script     The dir of docker scripts. It contains:

                                        mongo_tasks     The task of mongo according to the pengine. It contains:
                                        mongo_utils     The utils. It contains some utisl.
                mongod_conf_template    The template of mongod.conf

mongo_manage_docker----will build the docker for managing a running mongod instance. It contains:

                Dockerfile              The file to build the docker
                mongo_docker_script     The dir of docker scripts. It contains:

                                        entry_point.py  Dockerfile entry_point
                                        mongo_tasks     The task of mongo according to the pengine. It contains:
                                        mongo_testcases The test cases
                                        mongo_utils     The utils. It contains some utisl.

mongo_perf_docker----will build the docker for collecting performance metrics from a running mongod instance. It contains:

                Dockerfile              The file to build the docker
                mongo_docker_script     The dir of docker scripts. It contains:

                                        perf_agent.py  Dockerfile entry_point

How to use:

  1. Build docker images. We do not provide a default base docker image for each Dockerfile. So you can select your base docker image as you like. CentOS7/RHEL7 are recommended. Likewise, we do not provide a default mongod binary in mongo_startup_docker, you can either use a community version or aliyun open src version. Please see details in Dockerfiles.
  2. Run them.

Have fun!

About

Docker agent for ApsaraDB for MongoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages