Open guoqiao opened 3 months ago
In python/ray/autoscaler/gcp/*.yaml files, the scheduling field is configured as following in a few places:
python/ray/autoscaler/gcp/*.yaml
scheduling
scheduling: - preemptible: true - onHostMaintenance: TERMINATE
The equivalent json version will be:
"scheduling": [ {"preemptilbe": true}, {"onHostMaintenance": "TERMINATE"} ]
This is wrong, according to GCP Doc:
"scheduling": { "onHostMaintenance": enum, "automaticRestart": boolean, "preemptible": boolean, ... }
Summary: for gcp, scheduling should be object/dict, but misconfigured to be a list of objects in examples.
all versions up to lastest (2.31)
in repo root:
cd python/ray/autoscaler/gcp/ grep -A 3 "scheduling:" *.yaml
Low: It annoys or frustrates me.
Good catch @guoqiao > can you submit a PR and we'll shepherd it through
@anyscalesam PR created ^. Thank you!
What happened + What you expected to happen
In
python/ray/autoscaler/gcp/*.yaml
files, thescheduling
field is configured as following in a few places:The equivalent json version will be:
This is wrong, according to GCP Doc:
Summary: for gcp,
scheduling
should be object/dict, but misconfigured to be a list of objects in examples.Versions / Dependencies
all versions up to lastest (2.31)
Reproduction script
in repo root:
Issue Severity
Low: It annoys or frustrates me.