AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.
Docs Menu

Ops Manager를 위한 KMIP 백업 암호화 구성

Ops Manager can encrypt backup jobs. You can use the Kubernetes Operator to configure KMIP backup encryption for Ops Manager. To learn more, see Encrypted Backup Snapshots.

동일한 Kubernetes 연산자 인스턴스가 MongoDBOpsManagerMongoDB 사용자 지정 리소스를 모두 관리하지 않는 배포의 경우, MongoDBOpsManager 사용자 지정 리소스에서 KMIP 백업 암호화 클라이언트 설정을 수동으로 구성해야 합니다. 이 요구 사항에는 각 MongoDB database에 대한 클라이언트 인증서를 포함하는 작업이 포함되며, 이는 인증서를 마운트하도록 Ops Manager Pod의 StatefulSet를 재정의하여 달성할 수 있습니다. 자세한 내용은 KMIP 백업 암호화 수동 구성을 참조하세요.

1

다음 명령을 실행합니다:

kubectl -n mongodb create configmap mongodb-kmip-certificate-authority-pem --from-file=ca-pem
2

spec.backup.encryption.kmip 설정을 구성합니다.

1 apiVersion: mongodb.com/v1
2 kind: MongoDBOpsManager
3 metadata:
4 name: om-backup-kmip
5 spec:
6 replicas: 1
7 version: 8.0.0
8 adminCredentials: ops-manager-admin-secret
9 backup:
10 encryption:
11 kmip:
12 server:
13 url: kmip.corp.mongodb.com:5696
14 ca: mongodb-kmip-certificate-authority-pem
3
4

Ops Manager 리소스 정의의 파일 이름에 대해 다음 kubectl 명령을 호출합니다.

kubectl apply -f <opsmgr-resource>.yaml
5

다음 명령을 실행합니다:

kubectl get om <resource-name> -o yaml -w
6

다음 명령을 실행합니다:

kubectl -n mongodb create secret tls mongodb-kmip-client-pem-my-replica-set-kmip-client \
--cert=<path-to-cert-file> \
--key=<path-to-key-file>

The client certificate secret name has the following naming convention inferred from the MongoDB CustomResourceDefinition:

<clientCertificatePrefix>-<objectMeta.name>-kmip-client

clientCertificatePrefix

Human-readable label specified in the spec.backup.encryption.kmip.client.clientCertificatePrefix field of the MongoDB CustomResourceDefinition.

objectMeta.name

Human-readable label specified in the metadata.name field of the MongoDB CustomResourceDefinition.

kmip-client

Kubernetes 연산자가 가정하는 고정 접미사.

자세한 학습 은 kubernetes.io/tls를 참조하세요.

7

spec.backup.encryption.kmip 설정을 구성합니다.

1 apiVersion: mongodb.com/v1
2 kind: MongoDB
3 metadata:
4 name: my-replica-set
5 spec:
6 members: 3
7 version: 8.0.0
8 type: ReplicaSet
9 backup:
10 encryption:
11 kmip:
12 client:
13 clientCertificatePrefix: mongodb-kmip-client-pem

자세한 내용 복제본 세트 배포 또는 샤드 cluster 배포를 참조하세요.

8
9

Ops Manager 리소스 정의의 파일 이름에 대해 다음 kubectl 명령을 호출합니다.

kubectl apply -f <mdb-database-deployment>.yaml
10

다음 명령을 실행합니다:

kubectl get mdb <resource-name> -o yaml -w
이 페이지 평가하기