Skip to content

[autoscaler] [WIP] Docker on by default in example-full.yaml; use new defaults.yaml for defaults#10934

Closed
ericl wants to merge 5 commits intoray-project:masterfrom
ericl:base-move
Closed

[autoscaler] [WIP] Docker on by default in example-full.yaml; use new defaults.yaml for defaults#10934
ericl wants to merge 5 commits intoray-project:masterfrom
ericl:base-move

Conversation

@ericl
Copy link
Copy Markdown
Contributor

@ericl ericl commented Sep 21, 2020

Why are these changes needed?

This change enables docker by default in the autoscaler examples. To avoid breaking backwards compatibility for user YAMLs, which inherit from example-full currently, the verbatim contents of the example files has been copied to defaults.yaml, which is the new default config for node providers. This way, existing user YAML files won't have docker enabled unless they specify it.

TODOs:

  • sanity check / test these YAMLs
  • possible to depend on "latest" image
  • possible to enable GPU support automatically?
  • update docs to note Docker is on by default, and how to disable it

@ericl
Copy link
Copy Markdown
Contributor Author

ericl commented Sep 21, 2020

cc @ijrsvt @pcmoritz this is the proposed approach; please take this PR over if it looks reasonable.

@ijrsvt
Copy link
Copy Markdown
Contributor

ijrsvt commented Sep 21, 2020

@ericl This approach looks fine, I think you just need to edit the def _load_<XXXX>_example_config(): functions in node_provider.py.

@ericl
Copy link
Copy Markdown
Contributor Author

ericl commented Sep 21, 2020

Sounds good. I'll leave this PR to you then (since we can't merge it without testing the configs), or you can copy the branch and make a new PR?

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.

2 participants