multi-cluster-cli (aka mccli) allows you to run MongoDB deployments accross multiple Kind clusters on your local machine.
Create or Use an exiting cloud-qa organization and put the credentials in a config.json
file:
{
"orgId": "${ORG_ID}",
"public": "${PUBLIC_KEY}",
"private": "${PRIVATE_KEY}"
}
-
create the kind clusters locally -- creates 2 clusters with name
cluster-a
andcluster-b
.mccli --op cluster
-
create the Cloud-QA project and automation config
mccli --op project
-
deploy MongoDB pods/nodes accross
cluster-a
andcluster-b
: deploys one pod incluster-a
and 2 pods incluster-b
mccli --op mongo
Wait for the deployment to show up on cloud-qa UI.
Note: This project is only for experimental deployments and is not supported officially by MongoDB. DO NOT use it in production.