Skip to content

Commit

Permalink
feat: support required_registration_fraction for secondary workers
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 578743167
  • Loading branch information
Google APIs authored and Copybara-Service committed Nov 2, 2023
1 parent 6cbf3a6 commit a70dd17
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions google/cloud/dataproc/v1/clusters.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/dataproc/v1/operations.proto";
import "google/cloud/dataproc/v1/shared.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
Expand Down Expand Up @@ -693,6 +695,23 @@ message InstanceGroupConfig {
// provisioning models.
InstanceFlexibilityPolicy instance_flexibility_policy = 13
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration to handle the startup of instances during cluster
// create and update process.
StartupConfig startup_config = 14 [(google.api.field_behavior) = OPTIONAL];
}

// Configuration to handle the startup of instances during cluster create and
// update process.
message StartupConfig {
// Optional. The config setting to enable cluster creation/ updation to be
// successful only after required_registration_fraction of instances are up
// and running. This configuration is applicable to only secondary workers for
// now. The cluster will fail if required_registration_fraction of instances
// are not available. This will include instance creation, agent registration,
// and service registration (if enabled).
optional double required_registration_fraction = 1
[(google.api.field_behavior) = OPTIONAL];
}

// A reference to a Compute Engine instance.
Expand Down

0 comments on commit a70dd17

Please sign in to comment.