자체 관리 배포서버 Kubernetes 로 마이그레이션 하기 전에 이 페이지의 각 사전 조건을 확인하세요.
A Ops Manager or Cloud Manager connection
ConfigMapwith the keysbaseUrl,orgId, andprojectName.An API key
Secretwith the keyspublicKeyandprivateKey.The Kubernetes Operator
ServiceAccounthasbatch/jobspermissions (create,get,list,watch, anddelete) for the dry-run connectivity Job.프로젝트 배포서버 하나만 포함되어 있습니다.
배포 및 클러스터 요구 사항
다음이 필요합니다.
An existing replica set or sharded cluster that Ops Manager or Cloud Manager manages.
Kubernetes Operator가 이미 설치된 Kubernetes 클러스터 또는 cluster. 멀티 클러스터 대상의 경우 마이그레이션 시작되기 전에 모든 클러스터 연산자 관리 하에 프로비저닝하고 가져오고, 클러스터 간 FQDN 확인이 이미 작동하는지 확인합니다.
배포서버 가 정상이며 목표 상태.
플러그인 및 연산자 RBAC
You need:
The
kubectl mongodbplugin, at a version that matches Kubernetes Operator. Kubernetes Operator enforces this version match on every reconcile, including the dry run, through themongodb.com/migrate-tool-versionannotation.Operator Role-Based Access Control (RBAC) restricts system access based on assigned roles. Here, it includes
batch/jobspermissions (create, get, list, watch, and delete), which Kubernetes Operator requires to run the dry-run connectivity Job.
네트워크 및 인증서
You need:
Bidirectional network connectivity between the virtual machine hosts and the Kubernetes Pods. You provision this connectivity yourself. Agent-to-
mongodandmongod-to-mongodtraffic must flow in both directions across the boundary, and your drivers must reach both sides.cert-manager배포서버 TLS를 사용하는 경우 또는 이에 상응하는 인증서 발급자.
자격 증명 및 백업
You need:
SCRAM 사용자 비밀번호. 솔트, 서버 키 및 저장된 키만 저장하는 자동화 구성에서는 복구할 수 없습니다.
시작하기 전에 만든 백업 입니다.
지원되는 토폴로지 및 인증
마이그레이션은 복제본 세트와 샤딩된 클러스터를 지원합니다. No Auth, SCRAM-SHA-256, X.509, LDAP 및 TLS를 어떤 조합으로든 지원합니다. LDAP 사용하는 경우 bindMethod는 simple이어야 합니다.