mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-01 20:55:16 +09:00
Opt-in builtin extension. Add a cluster by pasting its kubeconfig (stored encrypted, one row per cluster); the engine shells out to kubectl against a per-call temp kubeconfig to show cluster health, nodes, namespaces, workloads, pods with live logs, services, and ingresses, plus scale/restart/delete and apply-from-paste. Reads need viewer, mutations need admin. Not platform-gated (kubectl runs anywhere); no cluster needed on the panel host. Backend: models (ext_serverkit_k8s_clusters), kubectl_service (argv build + temp-file materialize/cleanup), cluster_service (CRUD + normalizers), k8s blueprint (/api/v1/k8s), lifecycle. Frontend: K8sPage (7 tabs) mirrored to the baked plugin tree via sync-builtin-frontends. 30 extension tests green; manifest/platform suites green; frontend builds; sync-drift clean. Plan: docs/plans/44_KUBERNETES_EXTENSION_PLAN.md Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>