diff --git a/pkg/addons/addons.go b/pkg/addons/addons.go index 6f548892df..0b14b0817c 100644 --- a/pkg/addons/addons.go +++ b/pkg/addons/addons.go @@ -451,6 +451,12 @@ func enableOrDisableAutoPause(cc *config.ClusterConfig, name string, val string) if err != nil { return errors.Wrapf(err, "parsing bool: %s", name) } + out.Infof("auto-pause addon is an alpha feature and still in early development. Please file issues to help us make it better.") + out.Infof("https://github.com/kubernetes/minikube/labels/co%2Fauto-pause") + + if !driver.IsKIC(cc.Driver) || runtime.GOARCH != "amd64" { + exit.Message(reason.Usage, `auto-pause currently is only supported on docker driver/docker runtime/amd64. Track progress of others here: https://github.com/kubernetes/minikube/issues/10601`) + } co := mustload.Running(cc.Name) if enable { if err := sysinit.New(co.CP.Runner).EnableNow("auto-pause"); err != nil { diff --git a/pkg/drivers/kic/types.go b/pkg/drivers/kic/types.go index c3dfa958d2..95aa2b1bf1 100644 --- a/pkg/drivers/kic/types.go +++ b/pkg/drivers/kic/types.go @@ -24,9 +24,9 @@ import ( const ( // Version is the current version of kic - Version = "v0.0.17-1613934488-10548" + Version = "v0.0.17-1614202509-10427" // SHA of the kic base image - baseImageSHA = "5cacd48d07f699a171eedf65ef1490bd59a523ffcd90662e3b66eb838c5a1b5d" + baseImageSHA = "93f2448d272ebad3d564c04474cafe03bb7440149c241d1d010b2e90e14da213" // The name of the GCR kicbase repository gcrRepo = "gcr.io/k8s-minikube/kicbase-builds" // The name of the Dockerhub kicbase repository diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 6d582258f3..b3744343fe 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -26,7 +26,7 @@ minikube start [flags] --apiserver-names strings A set of apiserver names which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine --apiserver-port int The apiserver listening port (default 8443) --auto-update-drivers If set, automatically updates drivers to the latest version. Defaults to true. (default true) - --base-image string The base image to use for docker/podman drivers. Intended for local development. (default "gcr.io/k8s-minikube/kicbase-builds:v0.0.17-1613861585-10427@sha256:c0827e1b58f31cbfeb871af9c7656e5822bd97dd0011b9edd45ddd1ee9ef9dfd") + --base-image string The base image to use for docker/podman drivers. Intended for local development. (default "gcr.io/k8s-minikube/kicbase-builds:v0.0.17-1614202509-10427@sha256:93f2448d272ebad3d564c04474cafe03bb7440149c241d1d010b2e90e14da213") --cache-images If true, cache docker images for the current bootstrapper and load them into the machine. Always false with --driver=none. (default true) --cni string CNI plug-in to use. Valid options: auto, bridge, calico, cilium, flannel, kindnet, or path to a CNI manifest (default: auto) --container-runtime string The container runtime to be used (docker, cri-o, containerd). (default "docker")