Skip to content

[autoscaler] Add documentation for multi node type autoscaling#10405

Merged
ericl merged 14 commits intoray-project:masterfrom
ericl:autoscaling-doc
Aug 29, 2020
Merged

[autoscaler] Add documentation for multi node type autoscaling#10405
ericl merged 14 commits intoray-project:masterfrom
ericl:autoscaling-doc

Conversation

@ericl
Copy link
Contributor

@ericl ericl commented Aug 28, 2020

No description provided.


def debug_string(self, nodes: List[NodeID],
pending_nodes: Dict[NodeID, int]) -> str:
# TODO(ekl) take into account existing utilization of node resources. We
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# node. This number should be >= 0.
min_workers: 0

# The autoscaler will scale up the cluster to this target fraction of resource
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# The autoscaler will scale up the cluster to this target fraction of resource
# The autoscaler will scale up the cluster to this target fraction of CPU

Not sure if this is accurate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually resource usage, not CPU

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we specify what resources are considered?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated this in the paragraph above.

Co-authored-by: Stephanie Wang <swang@cs.berkeley.edu>
# target_utilization is 0.8, it would resize the cluster to 13. This fraction
# can be decreased to increase the aggressiveness of upscaling.
# This value must be less than 1.0 for scaling to happen.
# This max value allowed is 1.0, which is the most conservative setting.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# This max value allowed is 1.0, which is the most conservative setting.
# The max value allowed is 1.0, which is the most conservative setting.

@ericl ericl added the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Aug 28, 2020
@ericl ericl merged commit f6a1698 into ray-project:master Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants