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
|
continue
|
||||||
self.log(f"Joining control plane {node}")
|
self.log(f"Joining control plane {node}")
|
||||||
ip = self.node_ips[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.remote(ip, f"sudo th-kubeadm-join-control-plane {shlex.quote(node_join)}")
|
||||||
self.mark_done("control_planes_joined")
|
self.mark_done("control_planes_joined")
|
||||||
|
|
||||||
@@ -388,7 +388,7 @@ class Controller:
|
|||||||
continue
|
continue
|
||||||
self.log(f"Joining worker {node}")
|
self.log(f"Joining worker {node}")
|
||||||
ip = self.node_ips[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.remote(ip, f"sudo th-kubeadm-join-worker {shlex.quote(node_join)}")
|
||||||
self.mark_done("workers_joined")
|
self.mark_done("workers_joined")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user