Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Is redis client's CLUSTER CREATE command equivalent available in redis-py-cluster? #495

Answered by Grokzen
jackpa99 asked this question in Q&A
Discussion options

You must be logged in to vote

@jackpa99 I would say no. Becuase when using this lib you need to have some of the cluster features there and commands enabled etc that only happens after a cluster is created. What i would do instead is to use plain redis-py to connect into your instances and just send .execute_command("CLUSTER CREATE") or something similar to each node you want to spin up and manage. But in general it is way simpler to use the redis-cli for this outside any redis-client, that is just from my personal experience.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Grokzen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants