Commit Graph
32 Commits
Author SHA1 Message Date
gitlawrandjialin 6b47bacfac feat: gate GPU Service on Kubernetes cluster availability
GPU Service today only schedules on Kubernetes clusters; Docker / cloud
clusters can't host the CRDs. Without any awareness of that, Org
members whose Org has no K8s cluster (and no cluster_access grant on
one) saw a menu they couldn't use and a form that bottomed out with
backend errors.

Two changes lock the UX down:

- Boot probes the caller's cluster list once and stashes
  hasKubernetesCluster in initialState. A new canSeeGpuService
  predicate gates the menu — admins and Org owners always see it
  (they can add the cluster); everyone else only sees it when a
  reachable K8s cluster actually exists.

- The instances page filters its own cluster list to Kubernetes
  before deciding what to show. With nothing reachable we render the
  Deployments-style 'No clusters available. Add a Kubernetes cluster
  to get started.' empty state and hide the create-instance CTA;
  admins and Org owners additionally get the 'Add cluster' button
  that jumps to cluster management.
2026-05-27 13:41:32 +08:00
jialinandjialin 7d0cfeff77 fix: storage api alignment 2026-05-11 19:49:21 +08:00
jialinandjialin 33fe180997 refactor: model instance item 2026-03-26 18:20:55 +08:00
jialin dcda9be50b style: display target model name 2026-02-03 18:21:08 +08:00
jialin 1a2e82f079 chore: profile config 2026-01-30 18:48:55 +08:00
jialin 17de9d98f4 chore(deps): upgrade antd to v6 2026-01-06 17:21:32 +08:00
jialin 7355be9e3a fix: init cluster id when deploy model 2025-12-03 19:18:07 +08:00
jialin ebff5695ff chore: consistent UI statement 2025-11-20 14:17:08 +08:00
jialin 18f861f771 style: framework options 2025-11-18 20:01:54 +08:00
jialin 4c22d08da5 refactor: page layout 2025-11-05 10:02:25 +08:00
jialin 303429c52c chore: clear space onblur 2025-11-03 10:14:30 +08:00
jialin 1fa2124efd feat: add allowed models 2025-10-13 15:21:17 +08:00
jialin bcd1a339f9 feat: add model access control 2025-10-13 15:21:17 +08:00
jialin b640963f65 fix(style): my models card 2025-09-19 15:46:24 +08:00
jialin 43936e21d9 feat: instances on worker 2025-09-16 11:26:17 +08:00
jialin 949eded4ee refactor: resource table columns 2025-09-16 11:26:17 +08:00
jialin 553ec724c2 fix: gpu selector by cluster 2025-09-16 11:26:17 +08:00
jialin 5bd5c7d2c5 feat: add user avatar 2025-08-14 16:39:25 +08:00
jialin ccfdb99348 fix: miss global user info 2025-08-13 20:13:46 +08:00
jialin af0aaddbfd fix: update the requestId when switch model 2025-07-09 16:03:07 +08:00
jialin b6136a092d fix: the fields for trigger checking 2025-04-03 18:08:43 +08:00
jialin faa13f58e0 fix: catalog form meta data update 2025-01-17 21:22:15 +08:00
jialin aed7267253 chore: model meta data 2024-12-30 16:07:30 +08:00
jialin dde937f460 chore: images create 2024-11-22 10:00:34 +08:00
jialin 3cd96ba2e8 feat: vllm support 2024-09-25 16:17:25 +08:00
jialin 2e5f0d9210 fix: submit message 2024-09-22 14:55:23 +08:00
jialin ca595da0c7 feat: depoly model advanced 2024-09-04 14:32:36 +08:00
jialin 320db56fbe chore: version info modal 2024-07-12 12:06:17 +08:00
jialin cf0113e8d8 chore: watch api 2024-06-28 17:14:34 +08:00
jialin 9e471eafa7 fix: redirect default path after login 2024-06-23 21:30:20 +08:00
jialin c9ea96e078 chore: playground api request 2024-06-12 18:13:23 +08:00
jialin f491b5dfb1 chore: api request 2024-06-10 21:14:37 +08:00