-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
syntax = "proto3"; | ||
|
||
// Provision a node via the serverless backfill controller. | ||
package serverless_backfill_controller; | ||
|
||
option optimize_for = SPEED; | ||
|
||
message ProvisionRequest { | ||
// Leave it empty for future extension. | ||
} | ||
|
||
message ProvisionResponse { | ||
string resource_group = 1; | ||
} | ||
|
||
service NodeGroupControllerService { | ||
// Provision interacts with Kubernetes to provide a group of compute nodes. | ||
// To avoid collision and simplify GC, it will generate the a name for node | ||
// group identification. | ||
// The RPC call will hold until all nodes haven been observed in the | ||
// RisingWave's system catalog. Timeout may be applied over the call to | ||
// cancel the request, and GC shall be taken care of by the service provider. | ||
rpc Provision(ProvisionRequest) returns (ProvisionResponse); | ||
} |