diff --git a/pkg/provision/buildroot.go b/pkg/provision/buildroot.go index e0d80c0ba94d..be0546daff0c 100644 --- a/pkg/provision/buildroot.go +++ b/pkg/provision/buildroot.go @@ -79,6 +79,9 @@ Requires= minikube-automount.service docker.socket [Service] Type=notify +Restart=on-failure +StartLimitBurst=3 +StartLimitIntervalSec=60 ` if noPivot { klog.Warning("Using fundamentally insecure --no-pivot option") diff --git a/pkg/provision/ubuntu.go b/pkg/provision/ubuntu.go index 64b4b29a54a6..e4db0d6c8bdb 100644 --- a/pkg/provision/ubuntu.go +++ b/pkg/provision/ubuntu.go @@ -82,6 +82,9 @@ Requires=docker.socket [Service] Type=notify +Restart=on-failure +StartLimitBurst=3 +StartLimitIntervalSec=60 ` if noPivot { klog.Warning("Using fundamentally insecure --no-pivot option")