Skip to content

Commit b4fd697

Browse files
Google APIscopybara-github
authored andcommitted
feat: support node selector in Cloud Run jobs for GPU setting
PiperOrigin-RevId: 758305326
1 parent 1270a1b commit b4fd697

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

google/cloud/run/v2/task.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ message Task {
254254
// Output only. Reserved for future use.
255255
bool satisfies_pzs = 33 [(google.api.field_behavior) = OUTPUT_ONLY];
256256

257+
// Output only. The node selector for the task.
258+
NodeSelector node_selector = 36 [(google.api.field_behavior) = OUTPUT_ONLY];
259+
257260
// Output only. A system-generated fingerprint for this version of the
258261
// resource. May be used to detect modification conflict during updates.
259262
string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY];

google/cloud/run/v2/task_template.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,7 @@ message TaskTemplate {
7070
// information, visit
7171
// https://cloud.google.com/run/docs/configuring/connecting-vpc.
7272
VpcAccess vpc_access = 8 [(google.api.field_behavior) = OPTIONAL];
73+
74+
// Optional. The node selector for the task template.
75+
NodeSelector node_selector = 11 [(google.api.field_behavior) = OPTIONAL];
7376
}

0 commit comments

Comments
 (0)