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 replicas.int2
resourcesExplicit CPU and memory configuration for each FerretDB replica. When omitted, the preset defined in resourcesPreset is applied.object{}
resources.cpuCPU available to each replica.quantity""
resources.memoryMemory (RAM) available to each replica.quantity""
resourcesPresetDefault sizing preset used when resources is omitted.stringmicro
sizePersistent Volume Claim size available for application data.quantity10Gi
storageClassStorageClass used to store the data.string""
externalEnable external access from outside the cluster.boolfalse

Application-specific parameters

NameDescriptionTypeValue
quorumConfiguration for quorum-based synchronous replication.object{}
quorum.minSyncReplicasMinimum number of synchronous replicas required for commit.int0
quorum.maxSyncReplicasMaximum number of synchronous replicas allowed (must be less than total replicas).int0
usersUsers configuration map.map[string]object{}
users[name].passwordPassword for the user.string""

Backup parameters

NameDescriptionTypeValue
backupBackup configuration.object{}
backup.enabledEnable regular backups (default: false).boolfalse
backup.scheduleCron schedule for automated backups.string0 2 * * * *
backup.retentionPolicyRetention policy.string30d
backup.endpointURLS3 endpoint URL for uploads.stringhttp://minio-gateway-service:9000
backup.destinationPathPath to store the backup (e.g. s3://bucket/path/to/folder/).strings3://bucket/path/to/folder/
backup.s3AccessKeyAccess key for S3 authentication.string<your-access-key>
backup.s3SecretKeySecret key for S3 authentication.string<your-secret-key>

Bootstrap (recovery) parameters

NameDescriptionTypeValue
bootstrapBootstrap configuration.object{}
bootstrap.enabledRestore database cluster from a backup.boolfalse
bootstrap.recoveryTimeTimestamp (RFC3339) for point-in-time recovery; empty means latest.string""
bootstrap.oldNameName of database cluster before deletion.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