优化 K8s 页面布局与 local 模式部署收尾
P0-P1: - Dockerfile.embed 启用 CGO 支持 SQLite+redka - K8s scale>1 时警告 local 模式数据不共享 K8s UI: - 移除侧边栏资源用量/容量分析及资源页横向 Tab 栏 - 修复事件路由(/workloads/events)与 Deployment 事件过滤 - 网络/配置/存储统一 YamlViewer 编辑,加大编辑弹窗
This commit is contained in:
1 parent
859db427a4
commit
339b24a579
12 files changed
+87
-90
No files matched your search
@@ -1060,6 +1060,9 @@ cmd_kubernetes() {
|
||||
scale)
|
||||
check_kubernetes_deps
|
||||
local replicas=${2:-1}
|
||||
if [ "$replicas" -gt 1 ]; then
|
||||
warning "MODE=local 时 SQLite 数据不共享,多副本会导致数据分裂,建议 replicas=1 或切换 MODE=release"
|
||||
fi
|
||||
info "扩缩容到 $replicas 副本..."
|
||||
kubectl -n "$KUBERNETES_NAMESPACE" scale deployment/aiops --replicas="$replicas"
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user