Create Instance
Following Redis versions are fully supported: 6.0 and 7.2; other versions are not supported by default.
When used in a production environment, it is recommended to prioritize the 7.2 version over 6.0. 7.2 is the default version.
7.2is still maintained by the community and fixes known issues in6.0. The6.0version is no longer maintained by the community.7.2is fully compatible with6.0.7.2has further improved the ACL features.- Cross-datacenter replication features introduced in v5.1.0 — including Active-Active mode — are available on
7.2only.
Single-node architecture has no replica nodes and lacks failover capabilities, so it should only be used in development and testing environments. You can choose between Sentinel architecture and Cluster architecture based on your business's data and concurrency needs.
Create Redis Instance
Procedure
Create a Redis 6.0 Sentinel mode instance using CLI:
Refer to the Redis API documentation for field descriptions.
A Sentinel instance has two independent default user passwords: spec.passwordSecret authenticates the Redis data nodes, and spec.sentinel.passwordSecret authenticates the Sentinel nodes. The example above sets neither, which leaves both open. The Web Console enables the Sentinel password by default; when creating an instance from the CLI, set it explicitly.
Each field references a Secret in the same namespace that holds the password under the password key, and the password must be 8 to 32 characters long.
Then reference it from the instance:
Clients connecting through Sentinel must supply this password separately from the Redis password — refer to Accessing Instances (Sentinel Mode).
After the instance is created, you can use the following command to check the status of the instance:
The meanings of the output table fields are as follows: