Skip to content

Commit

Permalink
feat(SBC): Provision proto (#20452)
Browse files Browse the repository at this point in the history
  • Loading branch information
CAJan93 authored Feb 18, 2025
1 parent d98b06e commit 7aabcad
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions proto/sbc_provision.proto
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);
}

0 comments on commit 7aabcad

Please sign in to comment.