Open bernard357 opened 8 years ago
not sure about the right way to use anti-affinity, either at blueprint level or at node level
at the blueprint level, this would give the following:
blueprints:
- cluster-blueprint:
anti-affinity:
- server1 server2
server1:
...
server2:
...
at the node level, this would be expressed like this:
blueprints:
- cluster-blueprint:
server1:
...
server2:
anti-affinity: server1
...
what do you think?
Cluster level looks much more clearer to me
Thanks @mingsheng36 for feed-back. Implementation of this has a dependency to new class directive
to be created as per #38
there is a requirement while deploying clusters of nodes to use anti-affinity so that we can ensure that nodes are spread over multiple hosts