While searching I found that the latest version of freeradius which is 3.2.X doesn't support using redis cluster. but in the github repository I found that they support it in the redis rlm configuration file but I do not where do I found it or if this version is stable or not.
I am expecting to make a configuration for the accounting requests to use redis cluster as a back-end database. Thank you for your help.
Redis clusters are only supported in the unreleased development version (that will become v4). It's not supported in any released stable version.
It's possible to use a Redis proxy that supports clusters in between FreeRADIUS and Redis to work around it if needed.