developmentseed / developmentseed/pearl-backend

Find a way to check k8s cluster resource before creating a gpu pod

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
JavaScript
Stars
58
Forks
7
PR merge metrics
No merged PRs in 30d

Description

At the moment, the POST /instance API endpoint has no way of knowing what our cluster level GPU capacity is. Whether k8s can actually scale or not. This causes weird issues where the frontend has to just do some guess work by polling the GET /instance API.

It would be nice to figure out a way to deal with this properly.

cc @batpad @ingalls

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the POST /instance endpoint and its interaction with Kubernetes GPU capacity, then compare it with the GET /instance polling used by the frontend. Define how the API should determine whether the cluster can scale before creating a GPU pod, and consider the work done when frontend guesswork is no longer required.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, kubernetes
Domain
backend, cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.