From b8cc176b4dc41956e307aed73a55bd32720a0c8c Mon Sep 17 00:00:00 2001 From: James Casbon Date: Mon, 4 Feb 2019 00:14:44 +0000 Subject: [PATCH] [autoscaler] Document gcp subnet config (#3783) Adds info to the gcp example yaml on using shared subnets. --- python/ray/autoscaler/gcp/example-full.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/python/ray/autoscaler/gcp/example-full.yaml b/python/ray/autoscaler/gcp/example-full.yaml index ebcfef29f..7b3d2b444 100644 --- a/python/ray/autoscaler/gcp/example-full.yaml +++ b/python/ray/autoscaler/gcp/example-full.yaml @@ -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: