For AI agents: a documentation index is available at https://www.mongodb.com/ko-kr/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

Atlas Kubernetes Operator for Atlas for Government Quick Start

You can use the Atlas Kubernetes Operator to manage resources in Atlas for Government. The Atlas Kubernetes Operator only supports managing Atlas for Government on AWS and Google Cloud. It doesn't support Atlas Data Federation, Serverless instances, or Flex clusters. For more information, see Supported Features in the MongoDB Atlas for Government documentation.

This page describes how to configure the Atlas Kubernetes Operator to manage resources in Atlas for Government.

You must install the Atlas Kubernetes Operator using Atlas CLI with the --gov flag. To learn more about installing the Atlas Kubernetes Operator using the Atlas CLI, see Quick Start.

After you install the Atlas Kubernetes Operator, do the following:

1

Follow the procedure in the Quick Start to deploy Atlas Kubernetes Operator. If you install the Atlas Kubernetes Operator using the Atlas CLI, you must append the --atlasGov flag to the installation command.

2

Configure the Atlas Kubernetes Operator to connect to the Atlas for Government API URL (https://cloud.mongodbgov.com/):

  • If you deploy using Helm, set atlasURI to https://cloud.mongodbgov.com/ in your values.yaml file.

  • If you deploy the operator directly, pass the --atlas-domain=https://cloud.mongodbgov.com/ flag when starting the operator.

If you deployed the Atlas Kubernetes Operator using the Atlas CLI with the --atlasGov flag in the previous step, the operator is already configured to use the correct URL.

3

Use the spec.regionUsageRestrictions parameter in the AtlasProject custom resource to set the cloud provider region for Atlas for Government. If you omit the spec.regionUsageRestrictions parameter, this setting defaults to COMMERCIAL_FEDRAMP_REGIONS_ONLY. To learn more, see spec.regionUsageRestrictions.