From 6c570ab6db3e7ab36700fbbed833f08a8877b2af Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Mon, 2 Nov 2026 11:58:37 -0600 Subject: [PATCH] Add focused cluster runtime apply command --- jeannie | 4 ++++ lib/jeannie/commands.sh | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/jeannie b/jeannie index e688c23..4c859b5 100755 --- a/jeannie +++ b/jeannie @@ -59,6 +59,7 @@ Base, Inventory, And Planning Build And Bootstrap up Deploy the full homelab pipeline. + cluster Apply the selected cluster runtime only. deploy-gitea Deploy the Debian-hosted Gitea container. deploy-api Deploy the Temporal-backed Jeannie API on Debian. deploy-heimdall Deploy the Debian-hosted Heimdall dashboard. @@ -262,6 +263,9 @@ case "${1:-}" in record_change_journal "up" "$@" up ;; + cluster) + cluster_apply "${@:2}" + ;; plan) plan_homelab "${2:-all}" ;; diff --git a/lib/jeannie/commands.sh b/lib/jeannie/commands.sh index d514bcf..edc46ca 100644 --- a/lib/jeannie/commands.sh +++ b/lib/jeannie/commands.sh @@ -156,6 +156,15 @@ Pimox worker static IPs: ${LAB_CLUSTER_PIMOX_WORKER_STATIC_IPS:-${LAB_PIMOX_WORK EOF } +cluster_apply() { + require_debian_server "cluster" + record_change_journal "cluster" "$@" + jeannie_log_start "cluster" + jeannie_step_plan 1 + run_step "Cluster OpenTofu apply" run_tofu_stack "bootstrap/cluster" + echo "Log: ${JEANNIE_LOG_FILE}" +} + rebuild_cluster() { require_debian_server "rebuild-cluster"