Skip to content

Make loadbalancer account for master instance type#545

Open
lseek wants to merge 4 commits intojtriley:developfrom
lseek:develop
Open

Make loadbalancer account for master instance type#545
lseek wants to merge 4 commits intojtriley:developfrom
lseek:develop

Conversation

@lseek
Copy link
Copy Markdown

@lseek lseek commented Jul 28, 2015

The load balancer currently assumes that all nodes in a cluster
(including the master node) are of the same instance type and throws an
exception if this is not so. But the StarCluster config explicitly
allows the master node to be of a different instance type than its
execution hosts. Therefore if a cluster is configured in such a manner
the loadbalancer will fail to run.

This commit makes the loadbalancer take into account that the master
node can be of a different instance type.

David Koo added 4 commits July 28, 2015 12:31
The load balancer currently assumes that all nodes in a cluster
(including the master node) are of the same instance type and throws an
exception if this is not so. But the StarCluster config explicitly
allows the master node to be of a different instance type than its
execution hosts. Therefore if a cluster is configured in such a manner
the loadbalancer will fail to run.

This commit makes the loadbalancer take into account that the master
node can be of a different instance type.
The load balancer currently assumes that all nodes in a cluster
(including the master node) are of the same instance type and throws an
exception if this is not so. But the StarCluster config explicitly
allows the master node to be of a different instance type than its
execution hosts. Therefore if a cluster is configured in such a manner
the loadbalancer will fail to run.

This commit makes the loadbalancer take into account that the master
node can be of a different instance type.
Initialize 'master' variable in loadbalancer's slots_per_host method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant