mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-06 07:01:52 +09:00
Introduces the new `serverkit-k8s` backend plugin with full extension wiring: plugin metadata, model registration, lifecycle hooks, kubectl execution service, cluster CRUD/default handling, connectivity checks, normalized read endpoints (nodes/namespaces/workloads/pods/services/ingresses/logs/overview), and admin mutations (scale/restart/delete/apply). It also registers the plugin in the frontend plugins manifest (including plugin styles) so the Kubernetes page can be surfaced by the plugin system.
56 lines
2.2 KiB
JSON
56 lines
2.2 KiB
JSON
{
|
|
"name": "serverkit-k8s",
|
|
"display_name": "Kubernetes",
|
|
"version": "1.0.0",
|
|
"description": "Manage remote Kubernetes clusters from the panel. Add a cluster by pasting its kubeconfig (stored encrypted, one row per cluster) and the extension shells out to kubectl to show cluster health, nodes, namespaces, workloads, pods with live logs, services, and ingresses, plus scale, restart, delete, and apply-manifest actions. Most panels never touch Kubernetes, so it ships as an opt-in extension and needs no cluster on the panel host itself.",
|
|
"author": "ServerKit",
|
|
"license": "MIT",
|
|
"category": "deployment",
|
|
"homepage": "https://github.com/jhd3197/ServerKit",
|
|
"permissions": [
|
|
"shell",
|
|
"filesystem",
|
|
"network"
|
|
],
|
|
"min_panel_version": "1.7.0",
|
|
"entry_point": "k8s:k8s_bp",
|
|
"url_prefix": "/api/v1/k8s",
|
|
"models": "models:register",
|
|
"lifecycle": {
|
|
"install": "lifecycle:on_install",
|
|
"uninstall": "lifecycle:on_uninstall"
|
|
},
|
|
"icon": "<circle cx=\"12\" cy=\"12\" r=\"8\"/><circle cx=\"12\" cy=\"12\" r=\"2\"/><path d=\"M12 2v7.5\"/><path d=\"m19 5-5.23 5.23\"/><path d=\"M22 12h-7.5\"/><path d=\"m19 19-5.23-5.23\"/><path d=\"M12 14.5V22\"/><path d=\"M10.23 13.77 5 19\"/><path d=\"M9.5 12H2\"/><path d=\"M10.23 10.23 5 5\"/>",
|
|
"contributions": {
|
|
"nav": [
|
|
{
|
|
"id": "k8s",
|
|
"label": "Kubernetes",
|
|
"route": "/k8s",
|
|
"category": "infrastructure",
|
|
"icon": "<circle cx=\"12\" cy=\"12\" r=\"8\"/><circle cx=\"12\" cy=\"12\" r=\"2\"/><path d=\"M12 2v7.5\"/><path d=\"m19 5-5.23 5.23\"/><path d=\"M22 12h-7.5\"/><path d=\"m19 19-5.23-5.23\"/><path d=\"M12 14.5V22\"/><path d=\"M10.23 13.77 5 19\"/><path d=\"M9.5 12H2\"/><path d=\"M10.23 10.23 5 5\"/>"
|
|
}
|
|
],
|
|
"routes": [
|
|
{
|
|
"path": "k8s",
|
|
"component": "K8sPage"
|
|
},
|
|
{
|
|
"path": "k8s/:tab",
|
|
"component": "K8sPage"
|
|
}
|
|
],
|
|
"page_titles": {
|
|
"/k8s": "Kubernetes"
|
|
},
|
|
"command_palette": [
|
|
{
|
|
"label": "Kubernetes",
|
|
"path": "/k8s",
|
|
"category": "Pages",
|
|
"keywords": "k8s kubernetes kubectl cluster node namespace pod deployment workload statefulset daemonset service ingress scale restart apply kubeconfig"
|
|
}
|
|
]
|
|
}
|
|
} |