Skip to content

Redis operator is not able to differentiate between multiple clusters when run on different ports other than 6379 which is hardcoded. #57

@irshadawake

Description

@irshadawake

Redis operator is not able to differentiate between multiple clusters when run on different ports other than 6379 which is hardcoded.

Steps to reproduce:

  1. deploy redis cluster with hostnetwork=true on port 6379.
    ( operator creates a cluster with all pods running on 6379 and all good)
  2. deploy 2nd cluster with hostnetwork=true on port 6389.
    (operator creates svc for the second cluster with port no:6379 as it is hardcoded here:
    Ports: []kapiv1.ServicePort{{Port: 6379, Name: "redis"}},
    )
  3. the operator now gets confused and mixes both the clusters together.
    RedisCluster.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions