Skip to content

Commit

Permalink
feat: add RaySepc to ResourceRuntimeSpec, and add ResourceRuntime to …
Browse files Browse the repository at this point in the history
…PersistentResource (#4470)

* feat: add RaySepc to ResourceRuntimeSpec, and add ResourceRuntime to PersistentResource

PiperOrigin-RevId: 551874408

Source-Link: googleapis/googleapis@4d230dd

Source-Link: googleapis/googleapis-gen@9e603a7
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjllNjAzYTcwODBiZTc4YjFlYzhhNmNmNGNlMWQwNmE1MjU5ZWZjMjMifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Fenster <[email protected]>
  • Loading branch information
3 people authored Aug 4, 2023
1 parent fbfb4ba commit d58a096
Show file tree
Hide file tree
Showing 43 changed files with 7,410 additions and 997 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-aiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ also contains samples.

## Supported Node.js Versions

Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
Libraries are compatible with all current _active_ and _maintenance_ versions of
Node.js.
If you are using an end-of-life version of Node.js, we recommend that you update
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ message PersistentResource {
ERROR = 5;
}

// Output only. Resource name of a PersistentResource.
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
// Immutable. Resource name of a PersistentResource.
string name = 1 [(google.api.field_behavior) = IMMUTABLE];

// Optional. The display name of the PersistentResource.
// The name can be up to 128 characters long and can consist of any UTF-8
Expand Down Expand Up @@ -134,6 +134,10 @@ message PersistentResource {
ResourceRuntimeSpec resource_runtime_spec = 13
[(google.api.field_behavior) = OPTIONAL];

// Output only. Runtime information of the Persistent Resource.
ResourceRuntime resource_runtime = 14
[(google.api.field_behavior) = OUTPUT_ONLY];

// Optional. A list of names for the reserved ip ranges under the VPC network
// that can be used for this persistent resource.
//
Expand Down Expand Up @@ -200,6 +204,36 @@ message ResourceRuntimeSpec {
// Optional. Configure the use of workload identity on the PersistentResource
ServiceAccountSpec service_account_spec = 2
[(google.api.field_behavior) = OPTIONAL];

// Ray cluster configuration.
// Required when creating a dedicated RayCluster on the PersistentResource.
RaySpec ray_spec = 1 [(google.api.field_behavior) = OPTIONAL];
}

// Configuration information for the Ray cluster.
// For experimental launch, Ray cluster creation and Persistent
// cluster creation are 1:1 mapping: We will provision all the nodes within the
// Persistent cluster as Ray nodes.
message RaySpec {
// Optional. Default image for user to choose a preferred ML framework(e.g.
// tensorflow or Pytorch) by choosing from Vertex prebuild
// images(https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
// Either this or the resource_pool_images is required. Use this field if
// you need all the resource pools to have the same Ray image, Otherwise, use
// the {@code resource_pool_images} field.
string image_uri = 1 [(google.api.field_behavior) = OPTIONAL];
}

// Persistent Cluster runtime information as output
message ResourceRuntime {
// Output only. URIs for user to connect to the Cluster.
// Example:
// {
// "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
// "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
// }
map<string, string> access_uris = 1
[(google.api.field_behavior) = OUTPUT_ONLY];
}

// Configuration for the use of custom service account to run the workloads.
Expand Down
1,907 changes: 1,803 additions & 104 deletions packages/google-cloud-aiplatform/protos/protos.d.ts

Large diffs are not rendered by default.

4,353 changes: 4,352 additions & 1 deletion packages/google-cloud-aiplatform/protos/protos.js

Large diffs are not rendered by default.

Loading

0 comments on commit d58a096

Please sign in to comment.