- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
# Kubernetes Base Template (REAL from wuji)
|
|
# Extracted from wuji production: /workspace/infra/wuji/taskservs/kubernetes.k
|
|
|
|
import taskservs.kubernetes.kcl.kubernetes as kubernetes
|
|
|
|
# Real wuji Kubernetes configuration
|
|
_kubernetes_taskserv = kubernetes.Kubernetes {
|
|
major_version = "1.30"
|
|
version = "1.30.3"
|
|
cri = "crio" # REAL: wuji uses crio, not containerd
|
|
runtime_default = "crun" # REAL: default runtime
|
|
runtimes = "crun,runc,youki" # REAL: multiple runtime support
|
|
cni = "cilium" # REAL: CNI choice
|
|
cni_version = "v0.16.11" # REAL: specific version
|
|
addons = "" # REAL: no addons by default
|
|
external_ips = [] # REAL: empty by default
|
|
cluster_name = "wuji" # REAL: cluster name
|
|
hostname = "{{hostname}}" # REAL: templated
|
|
cp_ip = "10.11.2.20" # REAL: control plane IP
|
|
cp_name = "wuji-cp-0" # REAL: control plane name
|
|
ip = "{{network_private_ip}}" # REAL: templated IP
|
|
mode = "worker" # REAL: default mode
|
|
cmd_task = "install" # REAL: command task
|
|
admin_user = "devadm" # REAL: admin user
|
|
target_path = "HOME/lab_kubeconfig" # REAL: kubeconfig path
|
|
}
|
|
|
|
_kubernetes_taskserv
|