Atlas for Government용 Atlas Kubernetes Operator 구성
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. It doesn't support Atlas Data Federation, Serverless instances, or Flex clusters. For more information, see 지원되는 기능 in the MongoDB Atlas for Government documentation.
이 페이지에서는 Atlas for Government에서 리소스를 managed하도록 Atlas Kubernetes Operator를 구성하는 방법을 설명합니다.
전제 조건
Atlas Kubernetes Operator를 설치해야 합니다. --gov
플래그와 함께 Atlas CLI를 사용하여 Atlas Kubernetes Operator를 설치하는 경우 다음 절차의 1~3단계를 건너뛸 수 있습니다. Atlas Kubernetes Operator 설치에 대해 --gov
플래그를 지정하지 않는 경우 다음 절차의 모든 단계를 완료하세요.
Atlas CLI를 사용하여 Atlas Kubernetes Operator를 설치하는 방법에 대해 자세히 알아보려면 빠른 시작을 참조하세요.
절차
Atlas Kubernetes Operator를 설치한 후 다음을 수행합니다.
파일의 spec.containers.args
아래에서 atlas-domain
설정을 찾습니다.
apiVersion: apps/v1 kind: Deployment metadata: ... spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: ... strategy: ... template: metadata: ... spec: containers: - args: - --atlas-domain=https://cloud.mongodb.com/ - --leader-elect - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 - --log-level=info - --log-encoder=json command: - /manager env: - name: OPERATOR_POD_NAME ...
Atlas Kubernetes Operator를 배포하세요.
빠른 시작 의 절차에 따라 Atlas Kubernetes Operator를 배포하세요.
정부용 에 Amazon Web Services 대한 리전 Atlas 을 설정합니다.
Use the spec.regionUsageRestrictions
parameter in the
AtlasProject
custom resource to set the AWS region for
Atlas for Government. If you omit the
spec.regionUsageRestrictions
parameter,
Atlas Kubernetes Operator restricts the project to AWS FedRamp Moderate standard regions by
default. To learn more, see
spec.regionUsageRestrictions
.