python/ray/autoscaler/_private/kuberay/autoscaling_config.py
def _generate_legacy_autoscaling_config_fields() -> Dict[str, Any]:
    """Generates legacy autoscaling config fields required for compatibiliy."""
    return {
        "file_mounts": {},
        "cluster_synced_files": [],
        "file_mounts_sync_continuously": False,
        "initialization_commands": [],
        "setup_commands": [],
        "head_setup_commands": [],
        "worker_setup_commands": [],
        "head_start_ray_commands": [],
        "worker_start_ray_commands": [],
        "auth": {},
        "head_node": {},
        "worker_nodes": {},
    }
Generates legacy autoscaling config fields required for compatibiliy.
Generates legacy autoscaling config fields required for compatibiliy.
Generates legacy autoscaling config fields required for compatibiliy .
def _generate_legacy_autoscaling_config_fields() -> Dict[str, Any]:
    return {
        "file_mounts": {},
        "cluster_synced_files": [],
        "file_mounts_sync_continuously": False,
        "initialization_commands": [],
        "setup_commands": [],
        "head_setup_commands": [],
        "worker_setup_commands": [],
        "head_start_ray_commands": [],
        "worker_start_ray_commands": [],
        "auth": {},
        "head_node": {},
        "worker_nodes": {},
    }
def _generate_legacy_autoscaling_config_fields ( ) -> Dict [ str , Any ] : return { "file_mounts" : { } , "cluster_synced_files" : [ ] , "file_mounts_sync_continuously" : False , "initialization_commands" : [ ] , "setup_commands" : [ ] , "head_setup_commands" : [ ] , "worker_setup_commands" : [ ] , "head_start_ray_commands" : [ ] , "worker_start_ray_commands" : [ ] , "auth" : { } , "head_node" : { } , "worker_nodes" : { } , }
Generates legacy autoscaling config fields required for compatibiliy.
Generates legacy autoscaling config fields required for compatibiliy .
"""Generates legacy autoscaling config fields required for compatibiliy."""