mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 19:49:04 +08:00
[autoscaler] Document gcp subnet config (#3783)
Adds info to the gcp example yaml on using shared subnets.
This commit is contained in:
committed by
Richard Liaw
parent
9295ab8f60
commit
b8cc176b4d
@@ -66,6 +66,15 @@ head_node:
|
||||
# Additional options can be found in in the compute docs at
|
||||
# https://cloud.google.com/compute/docs/reference/rest/v1/instances/insert
|
||||
|
||||
# If the network interface is specified as below in both head and worker
|
||||
# nodes, the manual network config is used. Otherwise an existing subnet is
|
||||
# used. To use a shared subnet, ask the subnet owner to grant permission
|
||||
# for 'compute.subnetworks.use' to the ray autoscaler account...
|
||||
# networkInterfaces:
|
||||
# - kind: compute#networkInterface
|
||||
# subnetwork: path/to/subnet
|
||||
# aliasIpRanges: []
|
||||
|
||||
worker_nodes:
|
||||
machineType: n1-standard-2
|
||||
disks:
|
||||
|
||||
Reference in New Issue
Block a user