Kubernetes Clusters in Salt
summary
Shows how SaltStack automates k3s clusters by running the k3s install script via Salt cmd states with env vars (forcing Docker runtime and a chosen k3s version), uses the salt mine to share control-node token and IP, installs Python3/pip and the kubernetes Python lib (pinning ~v11), and then controls deployments (example: nginx with 12 replicas or randomized 2–24) via Salt’s kubernetes state module. Docker events feed the salt event bus through a docker engine, reactors trigger on create/stop to run actions, and a custom module+engine lights an 8-LED blinkt LED board on container create/destroy (demo works).
AI-written summary · about
