Skip to content

feat(charts): out-of-box parity with verified cluster deployment (images, none-mode provisioning, monitoring, CVE-free hook) - #50

Merged
AlanFokCo merged 1 commit into
AliyunContainerService:mainfrom
AlanFokCo:feat/chart-out-of-box-parity
Nov 17, 2026
Merged

AlanFokCo merged 1 commit into
AliyunContainerService:mainfrom
AlanFokCo:feat/chart-out-of-box-parity

Conversation

@AlanFokCo

Copy link
Copy Markdown
Member

Summary

Makes a fresh helm install of both charts reproduce the fully-verified cluster
deployment out of the box — same images, same usage, same experience. Companion
to #48 (code fixes, merged); this PR is charts only.

Verified by upgrading the live cluster with --reset-values (pure chart
defaults, no overrides) against the published registry-cn-hangzhou.ack.aliyuncs.com/acs/
images: all workloads Running, consoles healthy, notebooks/serving/training/
monitoring/user-management all functional.

Images (default registry registry-cn-hangzhou.ack.aliyuncs.com/acs/)

Image Tag
ai-dashboard v3.3.0
ai-dev-console v3.2.0
commit-agent v0.2.0
notebook-controller v1.1.0
grafana / curl / prometheus 7.3.5 / 7.80.0 / v2.54.1-9090eb1-aliyun
kubeai-tools (hook) v1.2.0

All console binaries are static, built with Go 1.27.4 on a scratch base
(zero OS packages → no OS/stdlib CVEs). kubeai-tools:v1.2.0 uses
dev/alpine:3.24-update + apk --no-cache --update upgrade (libssl3/libcrypto3
→ 3.5.9-r0, fixes CVE-2026-31789) and kubectl rebuilt from kubernetes v1.36.2
source with Go 1.27.4 (fixes the Go 1.24.6 stdlib CVEs).

Out-of-the-box provisioning (auth.mode: none default)

  • dev-console: admin ServiceAccount + admin-token Secret + cluster-admin
    binding → notebook/training/serving submission works without manual setup.
  • admin-ui: admin User CRD; kubeai-admin-clusterrole ClusterRole; RBAC
    escalate/bind verbs + notebooks permission (fixes user-management binds).
  • In-cluster Prometheus (prometheus.enabled=true) scraping arena/gpu
    exporters, wired as the default Grafana datasource — monitoring works without
    ARMS (ARMS optional via prometheus.enabled=false + datasource url).
  • Platform settings seed: kubeai-platform-config with AC2 default
    development images on first install (lookup guard preserves user edits).
  • ensure-default-StorageClass hook: marks alicloud-disk-topology-alltype
    default only when no default SC exists (notebook workspace PVCs need one).
  • imageRewrites wiring (IMAGE_REWRITES env + /api/v1/config/images) for
    offline / cross-region AC2 image remapping.

Docs

Both chart READMEs rewritten as verified Helm deployment guides: quick start,
auth modes with a prominent none-mode security warning, monitoring options,
offline image remapping, and key values tables.

Prerequisites (documented, present in the reference cluster)

ACK Pro >= 1.20, Nginx Ingress Controller, Cloud-Native AI Suite / ack-arena.

Security note

none mode is the default for out-of-the-box usability and grants full admin to
anyone who can reach the console URL. READMEs warn to use it only on intranet/PoC
or behind access control, and to switch to aliyun/custom for production.

Make a fresh `helm install` reproduce the fully-verified cluster experience:

Images: default to registry-cn-hangzhou.ack.aliyuncs.com/acs/ final tags
(ai-dashboard v3.3.0, ai-dev-console v3.2.0, commit-agent v0.2.0,
notebook-controller v1.1.0, grafana/curl/prometheus), pullPolicy IfNotPresent.

Out-of-the-box provisioning (none auth mode default):
- dev-console: admin ServiceAccount + admin-token Secret + cluster-admin
  binding, so workload submission works without manual setup.
- admin-ui: admin User CRD for user management; kubeai-admin-clusterrole
  ClusterRole; RBAC escalate/bind verbs and notebooks permission.
- In-cluster Prometheus (prometheus.enabled) scraping arena/gpu exporters,
  wired as the default Grafana datasource (ARMS optional).
- Seed kubeai-platform-config with AC2 default development images on first
  install (lookup guard preserves user-modified settings).
- ensure-default-StorageClass hook (kubeai-tools image: alpine 3.24-update +
  kubectl built with Go 1.27.4, CVE-free) marks alicloud-disk-topology-alltype
  default only when no default SC exists.
- imageRewrites wiring for offline/cross-region AC2 image remapping.

Rewrite both chart READMEs as verified Helm deployment guides (quick start,
auth modes + security note, monitoring options, offline images, key values).
@AlanFokCo
AlanFokCo merged commit fd7bea5 into AliyunContainerService:main Nov 17, 2026
5 checks passed
@AlanFokCo
AlanFokCo deleted the feat/chart-out-of-box-parity branch November 17, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant