{"id":21401089,"url":"https://github.com/massdriver-cloud/k8s-mongo-replicaset","last_synced_at":"2026-03-19T20:13:36.064Z","repository":{"id":104128223,"uuid":"499385921","full_name":"massdriver-cloud/k8s-mongo-replicaset","owner":"massdriver-cloud","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-20T16:21:06.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-23T03:13:47.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://massdriver.cloud","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/massdriver-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-03T05:06:01.000Z","updated_at":"2024-09-20T16:21:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe340001-916c-41de-a3ae-e34c7cbb3ac3","html_url":"https://github.com/massdriver-cloud/k8s-mongo-replicaset","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fk8s-mongo-replicaset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fk8s-mongo-replicaset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fk8s-mongo-replicaset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fk8s-mongo-replicaset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/massdriver-cloud","download_url":"https://codeload.github.com/massdriver-cloud/k8s-mongo-replicaset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893859,"owners_count":20364918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T15:26:03.465Z","updated_at":"2026-01-03T00:40:38.706Z","avatar_url":"https://github.com/massdriver-cloud.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Massdriver][logo]][website]\n\n# k8s-mongo-replicaset\n\n[![Release][release_shield]][release_url]\n[![Contributors][contributors_shield]][contributors_url]\n[![Forks][forks_shield]][forks_url]\n[![Stargazers][stars_shield]][stars_url]\n[![Issues][issues_shield]][issues_url]\n[![MIT License][license_shield]][license_url]\n\n\nDeploy MongoDB to your Kubernetes cluster.\n\n\n---\n\n## Design\n\nFor detailed information, check out our [Operator Guide](operator.md) for this bundle.\n\n## Usage\n\nOur bundles aren't intended to be used locally, outside of testing. Instead, our bundles are designed to be configured, connected, deployed and monitored in the [Massdriver][website] platform.\n\n### What are Bundles?\n\nBundles are the basic building blocks of infrastructure, applications, and architectures in [Massdriver][website]. Read more [here](https://docs.massdriver.cloud/concepts/bundles).\n\n## Bundle\n\n### Params\n\nForm input parameters for configuring a bundle for deployment.\n\n\u003cdetails\u003e\n\u003csummary\u003eView\u003c/summary\u003e\n\n\u003c!-- PARAMS:START --\u003e\n## Properties\n\n- **`database_name`** *(string)*: Name of the mongo database to create.\n- **`instance_configuration`** *(object)*\n  - **`cpu_limit`** *(number)*: Unit is in CPUs. Decimal numbers are allowed (3 digits of precision). Value must be between 0.001 and 32. Minimum: `0.5`. Maximum: `32`.\n  - **`disk_size_gb`** *(integer)*: The size (in Gb) of the PVC to request. Must be an integer between 10 and 1000. Minimum: `10`. Maximum: `1000`.\n  - **`memory_limit_gib`** *(number)*: Unit is Gi. Decimal numbers are allowed. Value must be between 0.5 and 64. Minimum: `0.5`. Maximum: `64`.\n- **`namespace`** *(string)*: The namespace to deploy the replicaset in. Default: `default`.\n- **`replica_configuration`** *(object)*: Replica configuration.\n  - **`number_of_replicas`** *(integer)*: Number of read replicas to create. Must be an integer between 0 and 5. Minimum: `0`. Maximum: `5`. Default: `0`.\n## Examples\n\n  ```json\n  {\n      \"__name\": \"Development\",\n      \"instance_configuration\": {\n          \"cpu_limit\": 0.8,\n          \"disk_size_gb\": 10,\n          \"memory_limit_gib\": 2\n      },\n      \"replica_configuration\": {\n          \"number_of_replicas\": 0\n      }\n  }\n  ```\n\n  ```json\n  {\n      \"__name\": \"Production\",\n      \"instance_configuration\": {\n          \"cpu_limit\": 4.2,\n          \"disk_size_gb\": 50,\n          \"memory_limit_gib\": 8\n      },\n      \"replica_configuration\": {\n          \"number_of_replicas\": 2\n      }\n  }\n  ```\n\n\u003c!-- PARAMS:END --\u003e\n\n\u003c/details\u003e\n\n### Connections\n\nConnections from other bundles that this bundle depends on.\n\n\u003cdetails\u003e\n\u003csummary\u003eView\u003c/summary\u003e\n\n\u003c!-- CONNECTIONS:START --\u003e\n## Properties\n\n- **`kubernetes_cluster`** *(object)*: Kubernetes cluster authentication and cloud-specific configuration. Cannot contain additional properties.\n  - **`data`** *(object)*\n    - **`authentication`** *(object)*\n      - **`cluster`** *(object)*\n        - **`certificate-authority-data`** *(string)*\n        - **`server`** *(string)*\n      - **`user`** *(object)*\n        - **`token`** *(string)*\n    - **`infrastructure`** *(object)*: Cloud specific Kubernetes configuration data.\n      - **One of**\n        - AWS EKS infrastructure config*object*: . Cannot contain additional properties.\n          - **`arn`** *(string)*: Amazon Resource Name.\n\n            Examples:\n            ```json\n            \"arn:aws:rds::ACCOUNT_NUMBER:db/prod\"\n            ```\n\n            ```json\n            \"arn:aws:ec2::ACCOUNT_NUMBER:vpc/vpc-foo\"\n            ```\n\n          - **`oidc_issuer_url`** *(string)*: An HTTPS endpoint URL.\n\n            Examples:\n            ```json\n            \"https://example.com/some/path\"\n            ```\n\n            ```json\n            \"https://massdriver.cloud\"\n            ```\n\n        - Infrastructure Config*object*: Azure AKS Infrastructure Configuration. Cannot contain additional properties.\n          - **`ari`** *(string)*: Azure Resource ID.\n\n            Examples:\n            ```json\n            \"/subscriptions/12345678-1234-1234-abcd-1234567890ab/resourceGroups/resource-group-name/providers/Microsoft.Network/virtualNetworks/network-name\"\n            ```\n\n          - **`oidc_issuer_url`** *(string)*\n        - GCP Infrastructure GRN*object*: Minimal GCP Infrastructure Config. Cannot contain additional properties.\n          - **`grn`** *(string)*: GCP Resource Name (GRN).\n\n            Examples:\n            ```json\n            \"projects/my-project/global/networks/my-global-network\"\n            ```\n\n            ```json\n            \"projects/my-project/regions/us-west2/subnetworks/my-subnetwork\"\n            ```\n\n            ```json\n            \"projects/my-project/topics/my-pubsub-topic\"\n            ```\n\n            ```json\n            \"projects/my-project/subscriptions/my-pubsub-subscription\"\n            ```\n\n            ```json\n            \"projects/my-project/locations/us-west2/instances/my-redis-instance\"\n            ```\n\n            ```json\n            \"projects/my-project/locations/us-west2/clusters/my-gke-cluster\"\n            ```\n\n  - **`specs`** *(object)*\n    - **`aws`** *(object)*: .\n      - **`region`** *(string)*: AWS Region to provision in.\n\n        Examples:\n        ```json\n        \"us-west-2\"\n        ```\n\n    - **`azure`** *(object)*: .\n      - **`region`** *(string)*: Select the Azure region you'd like to provision your resources in.\n    - **`gcp`** *(object)*: .\n      - **`project`** *(string)*\n      - **`region`** *(string)*: The GCP region to provision resources in.\n\n        Examples:\n        ```json\n        \"us-east1\"\n        ```\n\n        ```json\n        \"us-east4\"\n        ```\n\n        ```json\n        \"us-west1\"\n        ```\n\n        ```json\n        \"us-west2\"\n        ```\n\n        ```json\n        \"us-west3\"\n        ```\n\n        ```json\n        \"us-west4\"\n        ```\n\n        ```json\n        \"us-central1\"\n        ```\n\n    - **`kubernetes`** *(object)*: Kubernetes distribution and version specifications.\n      - **`cloud`** *(string)*: Must be one of: `['aws', 'gcp', 'azure']`.\n      - **`distribution`** *(string)*: Must be one of: `['eks', 'gke', 'aks']`.\n      - **`platform_version`** *(string)*\n      - **`version`** *(string)*\n\u003c!-- CONNECTIONS:END --\u003e\n\n\u003c/details\u003e\n\n### Artifacts\n\nResources created by this bundle that can be connected to other bundles.\n\n\u003cdetails\u003e\n\u003csummary\u003eView\u003c/summary\u003e\n\n\u003c!-- ARTIFACTS:START --\u003e\n## Properties\n\n- **`mongo_authentication`** *(object)*: mongo cluster authentication and cloud-specific configuration. Cannot contain additional properties.\n  - **`data`** *(object)*\n    - **`authentication`**: Mongo connection string. Cannot contain additional properties.\n      - **`hostname`** *(string)*\n      - **`password`** *(string)*\n      - **`port`** *(integer)*: Port number. Minimum: `0`. Maximum: `65535`.\n      - **`username`** *(string)*\n    - **`infrastructure`** *(object)*: Mongo cluster infrastructure configuration.\n      - **One of**\n        - Kuberenetes infrastructure config*object*: . Cannot contain additional properties.\n          - **`kubernetes_namespace`** *(string)*\n          - **`kubernetes_service`** *(string)*\n        - Azure Infrastructure Resource ID*object*: Minimal Azure Infrastructure Config. Cannot contain additional properties.\n          - **`ari`** *(string)*: Azure Resource ID.\n\n            Examples:\n            ```json\n            \"/subscriptions/12345678-1234-1234-abcd-1234567890ab/resourceGroups/resource-group-name/providers/Microsoft.Network/virtualNetworks/network-name\"\n            ```\n\n        - MongoDB Atlas Cluster Infrastructure*object*: Minimal MongoDB Atlas cluster infrastructure config. Cannot contain additional properties.\n          - **`cluster_id`** *(string)*\n          - **`project_id`** *(string)*\n  - **`specs`** *(object)*\n    - **`aws`** *(object)*: .\n      - **`region`** *(string)*: AWS Region to provision in.\n\n        Examples:\n        ```json\n        \"us-west-2\"\n        ```\n\n    - **`azure`** *(object)*: .\n      - **`region`** *(string)*: Select the Azure region you'd like to provision your resources in.\n    - **`gcp`** *(object)*: .\n      - **`project`** *(string)*\n      - **`region`** *(string)*: The GCP region to provision resources in.\n\n        Examples:\n        ```json\n        \"us-east1\"\n        ```\n\n        ```json\n        \"us-east4\"\n        ```\n\n        ```json\n        \"us-west1\"\n        ```\n\n        ```json\n        \"us-west2\"\n        ```\n\n        ```json\n        \"us-west3\"\n        ```\n\n        ```json\n        \"us-west4\"\n        ```\n\n        ```json\n        \"us-central1\"\n        ```\n\n    - **`mongo`** *(object)*: Informs downstream bundles of Mongo specific data. Cannot contain additional properties.\n      - **`version`** *(string)*: Currently deployed Mongo version.\n\u003c!-- ARTIFACTS:END --\u003e\n\n\u003c/details\u003e\n\n## Contributing\n\n\u003c!-- CONTRIBUTING:START --\u003e\n\n### Bug Reports \u0026 Feature Requests\n\nDid we miss something? Please [submit an issue](https://github.com/massdriver-cloud/k8s-mongo-replicaset/issues) to report any bugs or request additional features.\n\n### Developing\n\n**Note**: Massdriver bundles are intended to be tightly use-case scoped, intention-based, reusable pieces of IaC for use in the [Massdriver][website] platform. For this reason, major feature additions that broaden the scope of an existing bundle are likely to be rejected by the community.\n\nStill want to get involved? First check out our [contribution guidelines](https://docs.massdriver.cloud/bundles/contributing).\n\n### Fix or Fork\n\nIf your use-case isn't covered by this bundle, you can still get involved! Massdriver is designed to be an extensible platform. Fork this bundle, or [create your own bundle from scratch](https://docs.massdriver.cloud/bundles/development)!\n\n\u003c!-- CONTRIBUTING:END --\u003e\n\n## Connect\n\n\u003c!-- CONNECT:START --\u003e\n\nQuestions? Concerns? Adulations? We'd love to hear from you!\n\nPlease connect with us!\n\n[![Email][email_shield]][email_url]\n[![GitHub][github_shield]][github_url]\n[![LinkedIn][linkedin_shield]][linkedin_url]\n[![Twitter][twitter_shield]][twitter_url]\n[![YouTube][youtube_shield]][youtube_url]\n[![Reddit][reddit_shield]][reddit_url]\n\n\u003c!-- markdownlint-disable --\u003e\n\n[logo]: https://raw.githubusercontent.com/massdriver-cloud/docs/main/static/img/logo-with-logotype-horizontal-400x110.svg\n[docs]: https://docs.massdriver.cloud/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=k8s-mongo-replicaset\u0026utm_content=docs\n[website]: https://www.massdriver.cloud/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=k8s-mongo-replicaset\u0026utm_content=website\n[github]: https://github.com/massdriver-cloud?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=k8s-mongo-replicaset\u0026utm_content=github\n[slack]: https://massdriverworkspace.slack.com/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=k8s-mongo-replicaset\u0026utm_content=slack\n[linkedin]: https://www.linkedin.com/company/massdriver/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=k8s-mongo-replicaset\u0026utm_content=linkedin\n\n\n\n[contributors_shield]: https://img.shields.io/github/contributors/massdriver-cloud/k8s-mongo-replicaset.svg?style=for-the-badge\n[contributors_url]: https://github.com/massdriver-cloud/k8s-mongo-replicaset/graphs/contributors\n[forks_shield]: https://img.shields.io/github/forks/massdriver-cloud/k8s-mongo-replicaset.svg?style=for-the-badge\n[forks_url]: https://github.com/massdriver-cloud/k8s-mongo-replicaset/network/members\n[stars_shield]: https://img.shields.io/github/stars/massdriver-cloud/k8s-mongo-replicaset.svg?style=for-the-badge\n[stars_url]: https://github.com/massdriver-cloud/k8s-mongo-replicaset/stargazers\n[issues_shield]: https://img.shields.io/github/issues/massdriver-cloud/k8s-mongo-replicaset.svg?style=for-the-badge\n[issues_url]: https://github.com/massdriver-cloud/k8s-mongo-replicaset/issues\n[release_url]: https://github.com/massdriver-cloud/k8s-mongo-replicaset/releases/latest\n[release_shield]: https://img.shields.io/github/release/massdriver-cloud/k8s-mongo-replicaset.svg?style=for-the-badge\n[license_shield]: https://img.shields.io/github/license/massdriver-cloud/k8s-mongo-replicaset.svg?style=for-the-badge\n[license_url]: https://github.com/massdriver-cloud/k8s-mongo-replicaset/blob/main/LICENSE\n\n\n[email_url]: mailto:support@massdriver.cloud\n[email_shield]: https://img.shields.io/badge/email-Massdriver-black.svg?style=for-the-badge\u0026logo=mail.ru\u0026color=000000\n[github_url]: mailto:support@massdriver.cloud\n[github_shield]: https://img.shields.io/badge/follow-Github-black.svg?style=for-the-badge\u0026logo=github\u0026color=181717\n[linkedin_url]: https://linkedin.com/in/massdriver-cloud\n[linkedin_shield]: https://img.shields.io/badge/follow-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026color=0A66C2\n[twitter_url]: https://twitter.com/massdriver?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=k8s-mongo-replicaset\u0026utm_content=twitter\n[twitter_shield]: https://img.shields.io/badge/follow-Twitter-black.svg?style=for-the-badge\u0026logo=twitter\u0026color=1DA1F2\n[discourse_url]: https://community.massdriver.cloud?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=k8s-mongo-replicaset\u0026utm_content=discourse\n[discourse_shield]: https://img.shields.io/badge/join-Discourse-black.svg?style=for-the-badge\u0026logo=discourse\u0026color=000000\n[youtube_url]: https://www.youtube.com/channel/UCfj8P7MJcdlem2DJpvymtaQ\n[youtube_shield]: https://img.shields.io/badge/subscribe-Youtube-black.svg?style=for-the-badge\u0026logo=youtube\u0026color=FF0000\n[reddit_url]: https://www.reddit.com/r/massdriver\n[reddit_shield]: https://img.shields.io/badge/subscribe-Reddit-black.svg?style=for-the-badge\u0026logo=reddit\u0026color=FF4500\n\n\u003c!-- markdownlint-restore --\u003e\n\n\u003c!-- CONNECT:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassdriver-cloud%2Fk8s-mongo-replicaset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmassdriver-cloud%2Fk8s-mongo-replicaset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassdriver-cloud%2Fk8s-mongo-replicaset/lists"}