Skip to content

Commit b45c13b

Browse files
committed
Allow running none driver with force on 1 CPU
1 parent 3b4a988 commit b45c13b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/minikube/bootstrapper/kubeadm/kubeadm.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ func (k *Bootstrapper) init(cfg config.ClusterConfig) error {
197197
"Port-10250", // For "none" users who already have a kubelet online
198198
"Swap", // For "none" users who have swap configured
199199
}
200+
if version.GE(semver.MustParse("1.13.0")) {
201+
ignore = append(ignore,
202+
"NumCPU", // For "none" users who have too few CPUs
203+
)
204+
}
200205
if version.GE(semver.MustParse("1.20.0")) {
201206
ignore = append(ignore,
202207
"Mem", // For "none" users who have too little memory

0 commit comments

Comments
 (0)