Managed FerretDB Service

FerretDB is an open source MongoDB alternative. It translates MongoDB wire protocol queries to SQL and can be used as a direct replacement for MongoDB 5.0+. Internally, FerretDB service is backed by Postgres.

Parameters

Common parameters

NameDescriptionValue
replicasNumber of replicas2
resourcesExplicit CPU and memory configuration for each FerretDB replica. When left empty, the preset defined in resourcesPreset is applied.{}
resourcesPresetDefault sizing preset used when resources is omitted. Allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge.micro
sizePersistent Volume size10Gi
storageClassStorageClass used to store the data""
externalEnable external access from outside the clusterfalse

Application-specific parameters

NameDescriptionValue
quorum.minSyncReplicasMinimum number of synchronous replicas that must acknowledge a transaction before it is considered committed0
quorum.maxSyncReplicasMaximum number of synchronous replicas that can acknowledge a transaction (must be lower than the total number of replicas)0
usersUsers configuration{}

Backup parameters

NameDescriptionValue
backup.enabledEnable regular backupsfalse
backup.scheduleCron schedule for automated backups0 2 * * * *
backup.retentionPolicyRetention policy30d
backup.destinationPathPath to store the backup (i.e. s3://bucket/path/to/folder)s3://bucket/path/to/folder/
backup.endpointURLS3 Endpoint used to upload data to the cloudhttp://minio-gateway-service:9000
backup.s3AccessKeyAccess key for S3, used for authenticationoobaiRus9pah8PhohL1ThaeTa4UVa7gu
backup.s3SecretKeySecret key for S3, used for authenticationju3eum4dekeich9ahM1te8waeGai0oog

Bootstrap (recovery) parameters

NameDescriptionValue
bootstrap.enabledRestore database cluster from a backupfalse
bootstrap.recoveryTimeTimestamp (PITR) up to which recovery will proceed, expressed in RFC 3339 format. If left empty, will restore latest""
bootstrap.oldNameName of database cluster before deleting""

Parameter examples and reference

resources and resourcesPreset

resources sets explicit CPU and memory configurations for each replica. When left empty, the preset defined in resourcesPreset is applied.

resources:
  cpu: 4000m
  memory: 4Gi

resourcesPreset sets named CPU and memory configurations for each replica. This setting is ignored if the corresponding resources value is set.

Preset nameCPUmemory
nano250m128Mi
micro500m256Mi
small1512Mi
medium11Gi
large22Gi
xlarge44Gi
2xlarge88Gi