-
Is CLUSTER CREATE command equivalent available in redis-py-cluster. eg; to do the equivalent of this |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@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 |
Beta Was this translation helpful? Give feedback.
@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.