Parameter Configuration
When creating a Redis instance, the system's default parameter template is applied.
Alauda Application Services provides specialized parameter templates for each Redis version (three templates for version 6.0+ and two for version 5.0) to accommodate different operational requirements.
When creating a Redis instance, select the template that best aligns with your business requirements in the Parameter Templates field of the Create Redis Instance page.
You can also create custom parameter templates for reuse across multiple instances.
Redis parameters fall into three categories based on how changes take effect:
When modifying Redis parameters, consider the following best practices:
- Before implementing parameter changes, determine whether the parameters support hot updates. For parameters requiring instance restart, perform appropriate data backups prior to modification.
- After upgrading Redis versions, review parameter compatibility in the Redis configuration documentation to identify deprecated, removed, or modified parameters.
TOC
Procedure
Data Node Parameters
The data node parameter configuration for the instance is specified through the spec.customConfig field of the Redis CR resource. Refer to the API documentation for detailed descriptions of the parameters.
Sentinel Node Parameters
The parameter configuration for data nodes registering to sentinel nodes is as follows:
Currently only supports the following three parameters:
down-after-milliseconds,failover-timeout,parallel-syncs.