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 Supported Features 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를 설치한 후 다음을 수행합니다.
파일 의 아래에서 atlas-domain
spec.containers.args
설정을 찾습니다.
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 에 대한 Atlas Amazon Web Services 리전 을 설정합니다.
spec.regionUsageRestrictions
AtlasProject
사용자 지정 리소스의 매개변수를 사용하여 정부용 의 Amazon Web Services 리전을 Atlas 설정합니다. spec.regionUsageRestrictions
매개변수를 생략하면Atlas Kubernetes Operator 가 프로젝트를 Amazon Web Services FedRamp 로 제한합니다. 기본적으로 보통의 표준 리전입니다. 자세한 내용은 spec.regionUsageRestrictions
를 참조하세요.