feat(k3s): add optional Kite dashboard addon

Apply with `kubectl apply -f deploy/k3s/addons/kite.yaml` to expose a
Kubernetes management dashboard on NodePort 30082. Documented as
optional and intranet-only since the official manifest binds
cluster-admin.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-02 10:06:12 +08:00
parent f882ef8224
commit 3c07fd917d
2 changed files with 98 additions and 0 deletions
+15
View File
@@ -61,6 +61,21 @@ kubectl -n geo-rankly delete job migrate --ignore-not-found
kubectl apply -k deploy/k3s
```
### 3.1 可选安装 Kite dashboard
Kite dashboard 用于管理 k3s/Kubernetes 资源,默认安装到 `kube-system`,并通过 NodePort 暴露:
```bash
kubectl apply -f deploy/k3s/addons/kite.yaml
```
访问:
- Kite dashboard: `http://<node-ip>:30082`
- NAS 示例:`http://192.168.100.19:30082`
注意:Kite 官方清单绑定了 `cluster-admin` 权限,只建议在可信内网使用,不要直接暴露到公网。
## 4. 访问
k3s 默认同时支持两种访问方式。