add support in haketi to allow nodes to be in two different cns clusters #700
Comments
@MohamedAshiqrh I think the label request is actually an independent thing (which I want to detail in a separate issue). @ekuric Maybe I have not fully understood your suggestion. But there is no such thing as a CNS cluster. There are gluster clusters, and gluster can afaik only have a given node participate in one single cluster. But referring to CNS: CNS is the solution that lets heketi and gluster run as pods (containers) in kubernetes/openshift. There you might want to add more gluster clusters to the same physical hosts for scaling purposes: There is currently a hard limit at around 100 volumes per cluster (due to glusterd). Hence in order to support more than this number of volumes with some beefy hardware, you would have to deploy multiple gluster clusters on the same machines. But this is not a problem, since in kubernetes, gluster nodes are running as containers, and afaict nothing prevents you from putting multiple gluster clusters on the same kubernetes nodes. |
@obnoxxx yes,you are right, please forget cns as it is "downstream", by mistake I used that term. We talk here about heketi cluster. I do not think we can run multiple gluster clusters on same hardware / nodes ( at current status and when running in kubernetes/openshift ) it will fail to start it due to [1] [1]
it does not allow kubernetes node to be part of two gluster clusters, what prevents to create new gluster cluster running on same hardware/nodes but using different block devices. |
@ekuric @obnoxxx There are (solvable)problems based on hostname/IP to run multiple gluster instances in the same node. |
I am also facing the same issue as the nodes have both ssd and sata drives. So I want to provide different type of volume based on different hardware. |
The last activity on this issue is almost a year old. In addition, this seems somewhat outside the scope of heketi and is more an issue with how gluster containers are effectively one-per-node. This seems like a problem better solved at the gluster/GD2 level. Feel free to reopen if more discussion is needed. |
Currently , heketi supports nodes to be only in one CNS cluster, that means it is not possible to build structure like
idea is for nodes to host two different ( or more ) clusters where clusters are using different block devices on nodes
The text was updated successfully, but these errors were encountered: