Skip to content

v1.0.0: Salt 3008 + Kubernetes v1.32.3 Production Automation

Choose a tag to compare

@iasonliu iasonliu released this 06 Dec 02:19
· 3 commits to master since this release
a9b353c

Overview

salt-kube-lite v1.0.0 modernizes bare-metal Kubernetes provisioning from Salt 3002 and Kubernetes v1.21.3 to SaltStack 3008 LTS and Kubernetes v1.32.3, with HAProxy L4 load balancing, SRE-hardened Day-2 orchestrations, multi-architecture SHA256-verified binaries, an interactive Docker and Podman lab, and paired English and Simplified Chinese documentation.

Component Versions

Component Version Architectures
SaltStack 3008 LTS amd64, arm64
Kubernetes v1.32.3 amd64, arm64
etcd v3.5.36 amd64, arm64
containerd 2.2.10 amd64, arm64
runc v1.4.4 amd64, arm64
crictl v1.32.0 amd64, arm64
CNI plugins v1.6.2 amd64, arm64
CoreDNS v1.11.3 amd64, arm64
HAProxy (local L4 LB) 2.8 LTS Ubuntu 24.04, Rocky Linux 9

All binary versions and SHA256 checksums live in versions.yaml and are checked by scripts/bump-versions.py --check.

Highlights

Architecture and HA Load Balancing

  • Replaced the Nginx stream proxy with HAProxy 2.8 LTS (salt/formulas/kube-apiserver-lb/) using active TCP health checks (option tcp-check), on-marked-down shutdown-sessions, Type=notify, and haproxy -c -f config validation before reload.
  • Upgraded PKI automation to Salt 3008 x509_v2 with explicit auto_accept: False, peer-signing policies, SAN validation, and 2048-bit RSA leaf certificates.
  • Added aesgcm Secret encryption at rest, structured Kubernetes audit logging, Kubernetes v1.32.3 service flags, and dual OS support (Ubuntu 24.04 LTS and Rocky Linux 9).

SRE and Salt 3008 Hardening

  • Added custom execution module salt/_modules/sklite.py (sklite.health, sklite.certs, sklite.drift) compatible with Salt 3008 mask_pillar=True and Python 3.13/3.14 VERIFY_X509_STRICT.
  • Added etcd quorum preflight gates and atomic config validation before rolling certificate rotation (orch.rotate-certs), online Secret encryption key rotation (orch.rotate-encryption-key), rolling upgrades (orch.upgrade), and live worker scale-out and removal (orch.add-node, orch.remove-node).
  • Added automated systemd timers for etcd snapshot backups, periodic defragmentation, non-destructive snapshot restore drills (etcd-restore-verify.sh), Prometheus scrape/alert configs, and enriched cluster status MOTD.
  • Added Salt reactor templates (salt/reactor/) and a single-YAML inventory renderer (scripts/render-inventory.py) plus SSH deployment driver (scripts/deploy-baremetal.sh) and air-gapped offline bundle builder (scripts/offline-bundle.sh).

Clean Layout and Documentation

  • Consolidated all Salt content under salt/ (_grains, _macros, _modules, _states, formulas, pillar, reactor, states) and lab tooling under lab/, leaving 6 top-level directories (docs, inventory, lab, salt, scripts, tests).
  • Added paired English and Simplified Chinese documentation (README.md, README.zh-CN.md, docs/BAREMETAL_DEPLOYMENT.md, docs/BAREMETAL_DEPLOYMENT.zh-CN.md, salt/pillar/prod/README.md, salt/pillar/prod/README.zh-CN.md, salt/reactor/README.md, salt/reactor/README.zh-CN.md).

Fast Local Lab and Verified CI

  • Added a Docker and Podman systemd SSH lab (lab/lab.sh, make lab-e2e, make lab-scale, make lab-ha-failover) with parallel node startup, OCI image caching, and failure diagnostics.
  • Verified green on GitHub Actions (CI run 47596741725):
    • Static lint, 302-template render validation, versions.yaml consistency, and inventory pipeline tests
    • Full 3-node bare-metal SSH E2E on Ubuntu 24.04 and Rocky Linux 9 (provision, KTHW smoke test, etcd backup and restore drill, sklite health/certs/drift, forced cert rotation)
    • Live 4th-node add-node and remove-node, online aesgcm Secret encryption key rotation, and 3-master HAProxy failover drill