From cbe2ea88cd90edf27d9d9fcd02c635b062cf2f76 Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Thu, 1 Oct 2026 08:27:42 -0600 Subject: [PATCH] feat: add selectable Pimox cluster profile --- homelab.yml | 26 ++++++++++++++++++++++++++ jeannie | 4 ++++ lib/jeannie/commands.sh | 22 ++++++++++++++++++++++ lib/jeannie/env.sh | 21 ++++++++++++++++----- lib/jeannie/pipeline.sh | 21 ++++++++++++++++----- 5 files changed, 84 insertions(+), 10 deletions(-) diff --git a/homelab.yml b/homelab.yml index c236f4e..22f087c 100644 --- a/homelab.yml +++ b/homelab.yml @@ -59,6 +59,32 @@ cluster: repo_url: ssh://git@192.168.100.73:32222/jv/my-homelab-configs.git platform: calico_operator_node_name: debian + pimox: + control_plane: + node_name: pimox-cp-01 + lan_ip: 192.168.100.65 + user: jv + kubeconfig: /home/jv/.kube/pimox-config + kubeconfig_owner: jv:jv + registry: + endpoint: 192.168.100.73:30500 + provisioning: + host: 192.168.100.73 + user: jv + http: + host: 192.168.100.73 + gitops: + repo_url: ssh://git@192.168.100.73:32222/jv/my-homelab-configs.git + platform: + calico_operator_node_name: pimox-cp-01 + pimox: + host: 192.168.100.80 + user: jv + bridge: vmbr0 + storage: opi5_ssd + control_plane_vmid: 9001 + worker_count: 2 + worker_static_ips: 192.168.100.66 192.168.100.67 hosts: debian: diff --git a/jeannie b/jeannie index 1bb5fda..26d3611 100755 --- a/jeannie +++ b/jeannie @@ -44,6 +44,7 @@ Base, Inventory, And Planning help | -h | --help Show this grouped help. validate Run repo validation checks. inventory-check Validate the canonical homelab inventory. + cluster-profile Print the resolved active cluster profile. preflight Run non-mutating infrastructure preflight checks. doctor-preapply Run deeper pre-apply safety checks. plan [all|provisioning|cluster|platform|apps|edge] @@ -200,6 +201,9 @@ case "${1:-}" in plan) plan_homelab "${2:-all}" ;; + cluster-profile) + cluster_profile_report + ;; rebuild-cluster) record_change_journal "rebuild-cluster" "$@" rebuild_cluster diff --git a/lib/jeannie/commands.sh b/lib/jeannie/commands.sh index 62a8a04..1144ba5 100644 --- a/lib/jeannie/commands.sh +++ b/lib/jeannie/commands.sh @@ -33,6 +33,28 @@ plan_homelab() { done } +cluster_profile_report() { + cat <