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

NameDescriptionTypeValue
replicasNumber of replicasint2
resourcesExplicit CPU and memory configuration for each FerretDB replica. When left empty, the preset defined in resourcesPreset is applied.*object{}
resources.cpuCPU available to each replica*quantitynull
resources.memoryMemory (RAM) available to each replica*quantitynull
resourcesPresetDefault sizing preset used when resources is omitted. Allowed values: nano, micro, small, medium, large, xlarge, 2xlarge.stringmicro
sizePersistent Volume Claim size, available for application dataquantity10Gi
storageClassStorageClass used to store the datastring""
externalEnable external access from outside the clusterboolfalse

Application-specific parameters

NameDescriptionTypeValue
quorumConfiguration for the quorum-based synchronous replicationobject{}
quorum.minSyncReplicasMinimum number of synchronous replicas that must acknowledge a transaction before it is considered committedint0
quorum.maxSyncReplicasMaximum number of synchronous replicas that can acknowledge a transaction (must be lower than the total number of replicas)int0
usersUsers configurationmap[string]object{...}
users[name].passwordPassword for the user*stringnull

Backup parameters

NameDescriptionTypeValue
backupBackup configurationobject{}
backup.enabledEnable regular backups, default is false.boolfalse
backup.scheduleCron schedule for automated backupsstring0 2 * * * *
backup.retentionPolicyRetention policystring30d
backup.endpointURLS3 Endpoint used to upload data to the cloudstringhttp://minio-gateway-service:9000
backup.destinationPathPath to store the backup (i.e. s3://bucket/path/to/folder)strings3://bucket/path/to/folder/
backup.s3AccessKeyAccess key for S3, used for authenticationstring<your-access-key>
backup.s3SecretKeySecret key for S3, used for authenticationstring<your-secret-key>

Bootstrap (recovery) parameters

NameDescriptionTypeValue
bootstrapBootstrap (recovery) configurationobject{}
bootstrap.enabledRestore database cluster from a backup*boolfalse
bootstrap.recoveryTimeTimestamp (PITR) up to which recovery will proceed, expressed in RFC 3339 format. If left empty, will restore latest.*string""
bootstrap.oldNameName of database cluster before deleting*string""

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