You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the operator now gets confused and mixes both the clusters together. RedisCluster.txt
The text was updated successfully, but these errors were encountered:
irshadawake
changed the title
Redis operator is not respecting clusters when run on different port other than 6379 which is hardcoded
Redis operator is not able to differentiate between multiple clusters when run on different ports other than 6379 which is hardcoded.
Dec 9, 2019
Scenario: Redis operator creates a service per cluster. However, when we try to create multiple clusters with different ports, as the redis port is hardcoded in the operator code, it creates a wrong service and messes up the clusters.
Workaround: Over-ridden the service creation just before the cluster is created manually. Hence the operator fails to create the wrong service and endpoints, but works as expected with all the features. This step can be skipped in future if the community gets a fix for the same.
Please let me know if this can have unexpected side effects too.
Redis operator is not able to differentiate between multiple clusters when run on different ports other than 6379 which is hardcoded.
Steps to reproduce:
( operator creates a cluster with all pods running on 6379 and all good)
(operator creates svc for the second cluster with port no:6379 as it is hardcoded here:
Redis-Operator/pkg/controller/service_control.go
Line 76 in 68f754e
RedisCluster.txt
The text was updated successfully, but these errors were encountered: