fix: add join preflight ignores for homelab control planes
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 16s
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 16s
Append --ignore-preflight-errors=NumCPU,HTTPProxyCIDR to control-plane join commands and HTTPProxyCIDR to worker joins so kubeadm join does not fail on known single-CPU/proxy CIDR checks in this environment.
This commit is contained in:
@@ -373,7 +373,7 @@ class Controller:
|
||||
continue
|
||||
self.log(f"Joining control plane {node}")
|
||||
ip = self.node_ips[node]
|
||||
node_join = f"{cp_join} --node-name {node}"
|
||||
node_join = f"{cp_join} --node-name {node} --ignore-preflight-errors=NumCPU,HTTPProxyCIDR"
|
||||
self.remote(ip, f"sudo th-kubeadm-join-control-plane {shlex.quote(node_join)}")
|
||||
self.mark_done("control_planes_joined")
|
||||
|
||||
@@ -388,7 +388,7 @@ class Controller:
|
||||
continue
|
||||
self.log(f"Joining worker {node}")
|
||||
ip = self.node_ips[node]
|
||||
node_join = f"{join_cmd} --node-name {node}"
|
||||
node_join = f"{join_cmd} --node-name {node} --ignore-preflight-errors=HTTPProxyCIDR"
|
||||
self.remote(ip, f"sudo th-kubeadm-join-worker {shlex.quote(node_join)}")
|
||||
self.mark_done("workers_joined")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user