FalkorDB runtime parameters
- Open the deployment.
- Go to Parameters.
- Edit values under FalkorDB Parameters.
- Select Save FalkorDB.
Redis parameters
- Open the deployment.
- Go to Parameters.
- Wait for Redis parameters to load from the ConfigMap.
- Edit changed values.
- Select Save Redis.
maxmemory-policy, maxclients and save, are applied to the running pods. Any other directive, such as databases or io-threads, restarts the pods one at a time. The directives the addon manages, such as port, dir and the TLS files, can’t be changed.
A parameter’s default isn’t known to the UI, so to undo a change, enter the directive’s default. Clearing a field empties the directive when it is applied without a restart. Otherwise the UI refuses to save it.
Enterprise module parameters
The FalkorDB Enterprise module adds graph offloading and LDAP authentication. Its settings live under thefalkordbe. prefix in redis.conf.
- Open the deployment.
- Go to Parameters.
- Edit values under Enterprise Module Parameters, in Graph Offloading or LDAP Authentication.
- Select Save Enterprise.
redis.conf. Clearing a field sets it back to the module default shown in the tables below. Clearing a setting whose default is empty, such as the LDAP ones, empties it, so clearing LDAP servers turns LDAP authentication off.
Graph offloading
For how the feature works and its commands, see Graph offloading.
The directory the dumps are written to is not in this list. Every enterprise
cluster gets
/data/offload on the data volume, so the dumps survive a restart
and do not count against the pod ephemeral-storage limit, and the primary and
its replicas cannot collide on a dump file name. The module creates the
directory when it is missing. The path is passed on the redis-server command
line through FALKORDB_EXTRA_MODULES_ARGS, next to the flag that loads the
module, because the addon also runs without the enterprise module and a
falkordbe. directive that no module registers stops the server from starting.
Changing it therefore means changing that environment variable on the
deployment, which restarts the pods; a reconfigure operation rejects the key
with 400.
LDAP authentication
Setfalkordbe.ldap_servers to a comma separated list of ldap[s]://host:port to enable LDAP; leaving it empty keeps LDAP off. Pick the mode with falkordbe.ldap_auth_mode:
bindbuilds the user DN fromfalkordbe.ldap_bind_dn_prefixandfalkordbe.ldap_bind_dn_suffix.search+bindfirst looks the user up withfalkordbe.ldap_search_bind_dnandfalkordbe.ldap_search_bind_passwdunderfalkordbe.ldap_search_base.
falkordbe.ldap_exempted_users_regex, for example ^(default|exporter|replication)$, so monitoring and replication keep working when the directory is unreachable.
Two settings need care:
falkordbe.ldap_search_bind_passwdis stored in clear text in the KubeBlocks managed ConfigMap of the cluster, so anyone who can read that ConfigMap can read the password. Use a dedicated read-only directory account, and restrict read access to the deployment namespace.falkordbe.ldap_tls_skip_verifyaccepts any certificate the LDAP server presents, which removes the protection against man-in-the-middle attacks. Use it only in development.
How the values are applied
The module reads its configuration fromredis.conf at start-up; arguments on the --loadmodule line are ignored. Saving therefore submits a reconfigure OpsRequest, which rewrites the ConfigMap and then applies each changed key to the running server with CONFIG SET, without a restart.
Only the keys listed above are accepted. Redis refuses to start when redis.conf holds a falkordbe. key the module does not register, so the admin server rejects unknown keys and malformed values with 400 instead of writing them.
CPU and memory
- Open the deployment.
- Select Edit.
- Choose Resources.
- Enter CPU and memory requests or limits.
- Select Apply Resources.
- CPU:
100m,500m,1,2 - Memory:
256Mi,1Gi,2Gi
Storage
- Open the deployment.
- Select Edit.
- Choose Storage.
- Enter a larger size, for example
50Gi. - Select Expand Storage.
Network configuration
Initial network services are configured during creation in the Networking step. Service types supported by the UI are:ClusterIPNodePortLoadBalancer