[autoscaler] Create worker_file_mounts config (#9762)

This commit is contained in:
Alan Guo
2020-08-06 11:00:30 -07:00
committed by SangBin Cho
parent 0a6847c5dc
commit f8f6f342f6
12 changed files with 126 additions and 43 deletions
@@ -265,7 +265,14 @@ file_mounts: {
# "/path2/on/remote/machine": "/path2/on/local/machine",
}
# Whether changes to mounted files in the head node should sync to the worker node continuously
# Files or directories to copy from the head node to the worker nodes. The format is a
# list of paths. The same path on the head node will be copied to the worker node.
# This behavior is a subset of the file_mounts behavior. In the vast majority of cases
# you should just use file_mounts. Only use this if you know what you're doing!
cluster_synced_files: []
# Whether changes to directories in file_mounts or cluster_synced_files in the head node
# should sync to the worker node continuously
file_mounts_sync_continuously: False
# List of commands that will be run before `setup_commands`. If docker is