diff --git a/internal/app/init/main.go b/internal/app/init/main.go index f42c65d09..f57d4e625 100644 --- a/internal/app/init/main.go +++ b/internal/app/init/main.go @@ -78,6 +78,7 @@ func initram() (err error) { log.Printf("retrieving the user data") var data *userdata.UserData if data, err = p.UserData(); err != nil { + log.Printf("encountered error reading userdata: %v", err) return err } // Perform rootfs/datafs installation if needed. diff --git a/internal/app/init/pkg/system/services/kubeadm.go b/internal/app/init/pkg/system/services/kubeadm.go index 20262a39c..b2e8cc346 100644 --- a/internal/app/init/pkg/system/services/kubeadm.go +++ b/internal/app/init/pkg/system/services/kubeadm.go @@ -126,7 +126,7 @@ func (k *Kubeadm) Start(data *userdata.UserData) error { args := runner.Args{ ID: k.ID(data), } - ignore := "--ignore-preflight-errors=cri,kubeletversion,requiredipvskernelmodulesavailable" + ignore := "--ignore-preflight-errors=cri,kubeletversion,numcpu,requiredipvskernelmodulesavailable" if data.IsBootstrap() { args.ProcessArgs = []string{"kubeadm", "init", "--config=/etc/kubernetes/kubeadm-config.yaml", ignore, "--skip-token-print"} } else {