feat: 관리자 콘솔에 Pod GPU 노드 마이그레이션 UI 추가 - #48
Open
yoon6yo wants to merge 1 commit into
Open
Conversation
승인된 신청 건의 실행 중인 Pod를 다른 GPU 노드로 옮기는 관리자 액션을 신청서 관리 화면에 추가했다. 대상 노드는 같은 리소스 그룹에 속한 노드 목록(gpu-types API)에서 가져와 체크박스로 고르게 하고, 실수로 실행되지 않도록 경고 문구와 진행 상태 표시를 넣었다. migrated/skipped/에러 세 결과를 각각 다르게 안내하고, 성공 시 목록을 새로고침해 최신 포트 정보를 반영한다. apiClient.post가 patch/put처럼 fetch 옵션(타임아웃 등)을 받을 수 있도록 확장했다 — 승인 API와 동일하게 새 Pod 기동 대기까지 포함한 여유 시간이 필요해서다. Closes #47
Contributor
Author
|
@coderabbitai review |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
AdminRequestController에 새로 추가된POST /api/admin/requests/{requestId}/migrate를 트리거하는 관리자 UI를 신청서 관리 화면(RequestManagementPage)에 추가apiClient.post가patch/put처럼 fetch 옵션을 받을 수 있도록 확장 (타임아웃 지정 위해 필요)판단 근거 (요청받은 초안과 다르게 간 부분)
ContainerManagement/ContainerDetail) 화면에 붙이는 걸 검토했으나, 그 화면이 쓰는ContainerInfoDTO에requestId가 아예 없어서 API 호출이 불가능했습니다.requestId를 가진 "신청서 관리" 화면에 붙였습니다.전제
POST /api/admin/requests/{requestId}/migrate가 admin_bedevelop에 머지되어 있어야 동작합니다 (PR #398).Closes #47