참고
다음 배포에서는 이 기능 사용할 수 없습니다.
M0클러스터Flex 클러스터
참고
Atlas M2 및 M5 클러스터와 서버리스 인스턴스를 더 이상 사용하지 않습니다. Atlas 모든 M2 및 M5 클러스터를 Flex 클러스터로 마이그레이션했습니다. 서버리스 인스턴스의 경우, Atlas 사용량에 따라 인스턴스를 무료 클러스터, Flex 클러스터 또는 전용 클러스터로 마이그레이션합니다.
일정 기간 동안 API의 이전 버전과의 호환성을 유지하기 위해, Atlas Atlas Kubernetes Operator 사용할 때를 포함하여 이러한 마이그레이션된 클러스터를 동일한 API(이전 API 및 새 API)를 통해 managed 할 수 있도록 계속 허용합니다. API의 이전 버전과의 호환성은 2026 1월까지 유지되며, 이 때 이전 API는 제거되고 Flex 클러스터와 관련된 API만 유지됩니다.
서버리스 인스턴스의 비공개 엔드포인트에 대한 지원이 2025 3월에 종료되었습니다. 비공개 엔드포인트 제거 하려면 2025 3월까지 Atlas Kubernetes Operator 구성을 업데이트 해야 합니다. 2026 1월 이전에 Atlas Kubernetes Operator 구성에서 나머지 M2, M5 및 서버 인스턴스 기능을 모두 제거 해야 합니다.
If your workloads require Private Endpoints or Continuous Backup, switch to Atlas Dedicated Clusters. To learn more, see Migration to Flex Clusters and the Atlas Flex Migration Guide.
Atlas Kubernetes Operator supports cloud backup for your Atlas clusters. Cloud backup uses the native snapshot capabilities of your cloud provider to support full-copy snapshots and localized snapshot storage.
Atlas Kubernetes Operator로 클라우드 백업을 관리하려면 다음과 같은 사용자 지정 리소스를 지정하고 업데이트할 수 있습니다.
사용자 지정 리소스 | 목적 |
|---|---|
백업 빈도와 스냅샷 보존 기간을 포함한 백업 정책을 정의합니다. | |
Atlas가 데이터베이스 배포를 백업하는 시간, 복원할 수 있는 과거 일수, 백업 정책을 포함한 백업 일정을 정의합니다. | |
cluster의 특성을 정의합니다. cluster에 대해 cloud 백업을 활성화하려면 또한 연속 백업을 구성하려면 |
지원되는 사용자 지정 리소스를 변경할 때마다 Atlas Kubernetes Operator 가 해당 Atlas 구성을 만들거나 업데이트 합니다.
고려 사항
다음 고려 사항을 검토합니다.
백업 일정당 하나의 백업 정책을 지정할 수 있습니다.
백업 일정은 cluster당 하나씩 지정할 수 있지만 여러 cluster에 동일한 백업 일정을 사용할 수 있습니다.
Atlas determines the order of nodes to snapshot based on your cluster configuration. To learn more, see Cloud Backups.
Atlas Kubernetes Operator supports automatic snapshot distribution. You can configure this with the
spec.copySettingfield in theAtlasBackupScheduleCustom Resource.
참고
If you have a Backup Compliance Policy enabled, you can't modify the backup policy for an individual cluster below the minimum requirements set in the Backup Compliance Policy. You can modify the cluster-level backup policy at any time. Atlas augments any preexisting cluster-level policies to meet the minimum requirements of the Backup Compliance Policy. All new clusters use the Backup Compliance Policy. If you reduce the frequency of a backup schedule, the change applies only to future backups. Any existing oplog remains for the original window. The minimum requirements of the Backup Compliance Policy apply. You can configure extra snapshot retention. You can also view backup details for all M10+ dedicated clusters including deleted clusters with retained snapshots. To learn more, see View Backup Details for Dedicated Clusters.
제한 사항
Certain limitations apply to cloud backup. To learn more, see Back Up Your Cluster.
전제 조건
Atlas Kubernetes Operator managed cluster에 대한 cloud 백업을 활성화하려면 다음을 수행해야 합니다.
Atlas Kubernetes Operator를 배포하여 Kubernetes cluster를 실행합니다.
사용자의 IP 주소 가 조직의 API 액세스 목록에 있는지 확인하세요.
절차
Atlas Kubernetes Operator 관리형 클러스터에 대해 클라우드 백업을 활성화하려면 다음 단계를 따르세요.
백업 정책을 생성합니다.
백업 정책의 매개변수에 대해 자세히 알아보려면 AtlasBackupPolicy 사용자 지정 리소스를 참조하세요.
예시:
cat <<EOF | kubectl apply -f - apiVersion: atlas.mongodb.com/v1 kind: AtlasBackupPolicy metadata: name: "atlas-default-backuppolicy" spec: items: frequencyType: "weekly" frequencyInterval: 1 retentionUnit: "days" retentionValue: 7 EOF
백업 일정을 생성합니다.
spec.policy.name 필드에 AtlasBackupPolicy 사용자 지정 리소스 의 metadata.name 를 지정하여 백업 정책을 적용합니다.
백업 일정의 다른 매개변수에 대해 자세히 알아보려면 AtlasBackupSchedule 사용자 지정 리소스를 참조하세요.
예시:
cat <<EOF | kubectl apply -f - apiVersion: atlas.mongodb.com/v1 kind: AtlasBackupSchedule metadata: name: "atlas-default-backupschedule" spec: autoExportEnabled: true copySettings: - cloudProvider: AWS frequencies: - HOURLY regionName: US_EAST_1 shouldCopyOplogs: true referenceHourOfDay: 10 referenceMinuteOfHour: 10 restoreWindowDays: 2 policy: name: atlas-default-backuppolicy namespace: mongodb-atlas-system EOF
클러스터에 백업 일정을 적용합니다.
AtlasDeployment 사용자 지정 리소스 의 spec.backupRef.name 필드에서 AtlasBackupSchedule 사용자 지정 리소스 의 metadata.name 을(를) 지정하여 백업 스케줄을 클러스터에 적용합니다.
예시:
cat <<EOF | kubectl apply -f - apiVersion: atlas.mongodb.com/v1 kind: AtlasDeployment metadata: name: my-atlas-cluster spec: backupRef: name: atlas-default-backupschedule namespace: mongodb-atlas-system EOF