From 23bdb1de3019c3f323c40644ebd9ecf95a200731 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 27 May 2026 08:25:13 +0000 Subject: [PATCH] Publish proto files from d96b326d1 --- nebius/capacity/v1/resource_advice.proto | 2 +- .../capacity/v1/resource_advice_service.proto | 9 +++++++-- .../compute/v1/nvlinstancegroup_service.proto | 9 +++++++++ nebius/iam/v1/static_key.proto | 2 ++ nebius/mk8s/v1/node_group.proto | 19 ++++++++++++------- nebius/storage/v1/lifecycle.proto | 10 ++++++++++ 6 files changed, 41 insertions(+), 10 deletions(-) diff --git a/nebius/capacity/v1/resource_advice.proto b/nebius/capacity/v1/resource_advice.proto index fd95415..d93d832 100644 --- a/nebius/capacity/v1/resource_advice.proto +++ b/nebius/capacity/v1/resource_advice.proto @@ -17,7 +17,7 @@ option java_package = "ai.nebius.pub.capacity.v1"; message ResourceAdvice { option (resource_behavior) = UNNAMED; - // Standard metadata. parent_id is the User's Tenant/Project NID. + // Standard metadata. parent_id is the User's Tenant NID. common.v1.ResourceMetadata metadata = 1 [ (buf.validate.field).required = true, (nid) = { diff --git a/nebius/capacity/v1/resource_advice_service.proto b/nebius/capacity/v1/resource_advice_service.proto index 7546fe1..6dc34d3 100644 --- a/nebius/capacity/v1/resource_advice_service.proto +++ b/nebius/capacity/v1/resource_advice_service.proto @@ -13,11 +13,16 @@ option java_package = "ai.nebius.pub.capacity.v1"; // ResourceAdvisorService provides insights into capacity availability for various resources. // It helps users understand where they can launch instances or allocate storage based on their -// quotas and the current physical buffers in the data centers. +// quotas and the current physical capacity in the data centers. service ResourceAdviceService { option (api_service_name) = "capacity-advisor.billing-cpl"; - // Lists resource advice resources. + // Returns a list of resource advice entries for the caller's tenant. + // Each entry represents a unique combination of region, fabric, platform, and preset + // (e.g., gpu-b200-sxm / 8gpu-160vcpu-1792gb in us-central1-b) and reports current + // capacity availability across three allocation types: reserved, on-demand, and preemptible. + // Use this method to determine where and which compute instances can be launched + // given the tenant's quotas, capacity block groups, and the current physical capacity in data centers. // Supports filtering by region, resource type, or platform. rpc List(ListResourceAdviceRequest) returns (ListResourceAdviceResponse); } diff --git a/nebius/compute/v1/nvlinstancegroup_service.proto b/nebius/compute/v1/nvlinstancegroup_service.proto index 4e56c02..ea504c8 100644 --- a/nebius/compute/v1/nvlinstancegroup_service.proto +++ b/nebius/compute/v1/nvlinstancegroup_service.proto @@ -28,6 +28,9 @@ service NVLInstanceGroupService { // List lists all NVL InstanceGroups in the specified parent. rpc List(ListNVLInstanceGroupsRequest) returns (ListNVLInstanceGroupsResponse); + // Update modifies the specified NVL InstanceGroup by its ID. + rpc Update(UpdateNVLInstanceGroupRequest) returns (common.v1.Operation); + // Delete deletes the specified NVL InstanceGroup by its ID. rpc Delete(DeleteNVLInstanceGroupRequest) returns (common.v1.Operation); } @@ -38,6 +41,12 @@ message CreateNVLInstanceGroupRequest { NVLInstanceGroupSpec spec = 2; } +message UpdateNVLInstanceGroupRequest { + common.v1.ResourceMetadata metadata = 1; + + NVLInstanceGroupSpec spec = 2; +} + message GetNVLInstanceGroupRequest { string id = 1; } diff --git a/nebius/iam/v1/static_key.proto b/nebius/iam/v1/static_key.proto index 542426e..5781d3e 100644 --- a/nebius/iam/v1/static_key.proto +++ b/nebius/iam/v1/static_key.proto @@ -38,6 +38,8 @@ message StaticKeySpec { AI_STUDIO = 3; TRACTO = 4; + + LINUX_IDENTITY = 5; } } diff --git a/nebius/mk8s/v1/node_group.proto b/nebius/mk8s/v1/node_group.proto index 8be5f8f..8163c6b 100644 --- a/nebius/mk8s/v1/node_group.proto +++ b/nebius/mk8s/v1/node_group.proto @@ -38,7 +38,7 @@ message NodeGroupSpec { // `.` like "1.31". Option for patch version update will be added later. // By default the cluster control plane `.` version will be used. string version = 1 [(buf.validate.field) = { - string: {pattern: "|^\\d\\.\\d\\d$"} + string: {pattern: "^$|^\\d+\\.\\d+(-nebius-node\\.[1-9]\\d*)?$"} }]; oneof size { @@ -310,12 +310,12 @@ message NodeGroupDeploymentStrategy { // Such error will be visible in Operation.progress_data. PercentOrCount max_surge = 2; - // Maximum amount of time that the service will spend on attempting gracefully draining a node (evicting it's pods), before - // falling back to pod deletion. - // By default, node can be drained unlimited time. - // Important consequence of that is if PodDisruptionBudget doesn't allow to evict a pod, - // then NodeGroup update with node re-creation will hung on that pod eviction. - // Note, that it is different from `kubectl drain --timeout` + // Maximum amount of time that the service will spend attempting to gracefully drain a node + // (evicting its pods) before falling back to pod deletion. + // A value of 0 (or when field is omitted) means no timeout: the node can be drained for an unlimited time. + // Important consequence of that is if PodDisruptionBudget doesn't allow evicting a pod, + // then NodeGroup update with node re-creation will hang on that pod eviction. + // Note that this is different from `kubectl drain --timeout`, which gives up and returns an error. google.protobuf.Duration drain_timeout = 3 [(buf.validate.field) = { duration: { gte: {} @@ -480,6 +480,11 @@ message NodeGroupStatus { repeated common.v1.RecurrentResourceEvent events = 61; + // Deployment strategy used by the service for node group rollouts and node deletions. + // It includes default values applied by the service. A drain_timeout value of 0 means + // that node draining is not time-limited. + NodeGroupDeploymentStrategy strategy = 62; + // Show that there are changes are in flight. bool reconciling = 100; } diff --git a/nebius/storage/v1/lifecycle.proto b/nebius/storage/v1/lifecycle.proto index ddb4ad0..6b45fc2 100644 --- a/nebius/storage/v1/lifecycle.proto +++ b/nebius/storage/v1/lifecycle.proto @@ -83,6 +83,16 @@ message LifecycleFilter { // Maximum object size to which the rule applies. int64 object_size_less_than_bytes = 3; + + message Tag { + string key = 1; + + string value = 2; + } + + // Tags to filter objects by their tagging. Rule applies only to objects that + // match all tags in a filter. + repeated Tag tags = 4; } // Specifies which requests are included in `days_since_last_access` calculations.