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.
Prerequisites
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.
Procedure
After you install the Atlas Kubernetes Operator, do the following:
Deploy Atlas Kubernetes Operator.
Follow the procedure in the Quick Start to deploy Atlas Kubernetes Operator.
Set the cloud provider region for Atlas for Government.
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 GOV_REGIONS_ONLY
To learn more, see
spec.regionUsageRestrictions
.