Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Compatibility with charts explanantion #1172

Open
AharonIsraelCohen opened this issue Dec 16, 2024 · 0 comments
Open

Image Compatibility with charts explanantion #1172

AharonIsraelCohen opened this issue Dec 16, 2024 · 0 comments
Labels
question Further information is requested

Comments

@AharonIsraelCohen
Copy link

Hi, regarding the "Image Compatibility" section, I want to use Redis v6.2.5, so I need to use operator version: v0.13.0
my question is what should be the charts versions ??

Currently I noticed that in order to get the latest chart for redis-operator v0.13.0 I should use chart version: 0.13.1
and for redis I need to use chart version 0.11.0

The problem is that the operator is not able to create cluster when there are more then 1 leader:
{"level":"error","ts":1734338227.2321377,"logger":"controller_redis","msg":"Could not execute command","Request.RedisManager.Namespace":"ot-operators","Request.RedisManager.Name":"redis-cluster","Command":["redis-cli","--cluster","create","redis-cluster-leader-0.redis-cluster-leader-headless.ot-operators.svc:6379","redis-cluster-leader-1.redis-cluster-leader-headless.ot-operators.svc:6379","--cluster-yes"],"Output":"*** ERROR: Invalid configuration for cluster creation.\n*** Redis Cluster requires at least 3 master nodes.\n*** This is not possible with 2 nodes and 0 replicas per node.\n*** At least 3 nodes are required.\n","Error":"","error":"command terminated with exit code 1","stacktrace":"redis-operator/k8sutils.ExecuteRedisClusterCommand\n\t/workspace/k8sutils/redis.go:116\nredis-operator/controllers.(*RedisClusterReconciler).Reconcile\n\t/workspace/controllers/rediscluster_controller.go:130\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}

When I am decreasing the leader count to 1 the operator have no errors.

@AharonIsraelCohen AharonIsraelCohen added the question Further information is requested label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant