Skip to content

New ICMS instance termination endpoint #841

Description

@dmikhaylovnv

Current Behavior

Today, when NVCF needs to terminate a number of instances, it follows these steps:

  1. Fetch all instances related to the current deployment from ICMS.
  2. Select the instance_ids that should be terminated.
  3. Send a termination request for each individual instance_id.

The same flow applies to autoscaler requests and InstanceManagementTask.

Proposed Change

We want to simplify this process by creating a new ICMS delete REST endpoint. The endpoint will accept:

  • deployment_id
  • gpu_spec_id
  • the number of instances to terminate

It should use exactly the same algorithm that NVCF uses today: fetch all instances, select the eligible ones, and terminate the requested number.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions