Skip to content

Commit

Permalink
need to have no swap for kubeadm to pass preflight checks
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyDumaine authored and eljohnson92 committed Feb 1, 2024
1 parent 2616a1d commit 29c1229
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/linodemachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 29c1229

Please sign in to comment.