From 29c1229fd66614eaf9947bb58087dd9efb06b6b9 Mon Sep 17 00:00:00 2001 From: Ashley Dumaine Date: Thu, 1 Feb 2024 14:06:46 -0500 Subject: [PATCH] need to have no swap for kubeadm to pass preflight checks --- controller/linodemachine_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/linodemachine_controller.go b/controller/linodemachine_controller.go index 7e6fff34e..d9de87c1b 100644 --- a/controller/linodemachine_controller.go +++ b/controller/linodemachine_controller.go @@ -290,6 +290,7 @@ func (*LinodeMachineReconciler) reconcileCreate(ctx context.Context, machineScop return nil, err } createConfig.Tags = tags + createConfig.SwapSize = util.Pointer(0) // get the bootstrap data for the Linode instance and set it for create config bootstrapData, err := machineScope.GetBootstrapData(ctx)