You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/minikube/cmd/docker-env.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,7 @@ var dockerEnvCmd = &cobra.Command{
280
280
exit.Message(reason.EnvMultiConflict, `The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/`)
exit.Message(reason.Usage, `The docker-env command is only compatible with the "docker" runtime, but this cluster was configured to use the "{{.runtime}}" runtime.`,
Copy file name to clipboardExpand all lines: cmd/minikube/cmd/podman-env.go
+5
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,11 @@ var podmanEnvCmd = &cobra.Command{
170
170
exit.Message(reason.Usage, `The podman-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/`)
exit.Message(reason.Usage, `The podman-env command is only compatible with the "crio" runtime, but this cluster was configured to use the "{{.runtime}}" runtime.`,
exit.Message(reason.DrvUnsupportedProfile, "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/", out.V{"name": drvName})
1184
1187
}
1185
1188
1186
-
runtime:=viper.GetString(containerRuntime)
1187
-
ifruntime!="docker" {
1188
-
out.WarningT("Using the '{{.runtime}}' runtime with the 'none' driver is an untested configuration!", out.V{"runtime": runtime})
1189
+
// default container runtime varies, starting with Kubernetes 1.24 - assume that only the default container runtime has been tested
Copy file name to clipboardExpand all lines: cmd/minikube/cmd/start_flags.go
+9-6
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ func initMinikubeFlags() {
158
158
startCmd.Flags().String(kicBaseImage, kic.BaseImage, "The base image to use for docker/podman drivers. Intended for local development.")
159
159
startCmd.Flags().Bool(keepContext, false, "This will keep the existing kubectl context and will create a minikube context.")
160
160
startCmd.Flags().Bool(embedCerts, false, "if true, will embed the certs in kubeconfig.")
161
-
startCmd.Flags().String(containerRuntime, constants.DefaultContainerRuntime, fmt.Sprintf("The container runtime to be used (%s).", strings.Join(cruntime.ValidRuntimes(), ", ")))
161
+
startCmd.Flags().String(containerRuntime, constants.DefaultContainerRuntime, fmt.Sprintf("The container runtime to be used. Valid options: %s (default: auto)", strings.Join(cruntime.ValidRuntimes(), ", ")))
162
162
startCmd.Flags().Bool(createMount, false, "This will start the mount daemon and automatically mount files into minikube.")
163
163
startCmd.Flags().String(mountString, constants.DefaultMountDir+":/minikube-host", "The argument to pass the minikube mount command on start.")
Copy file name to clipboardExpand all lines: site/content/en/docs/commands/start.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ minikube start [flags]
30
30
--cache-images If true, cache docker images for the current bootstrapper and load them into the machine. Always false with --driver=none. (default true)
31
31
--cert-expiration duration Duration until minikube certificate expiration, defaults to three years (26280h). (default 26280h0m0s)
32
32
--cni string CNI plug-in to use. Valid options: auto, bridge, calico, cilium, flannel, kindnet, or path to a CNI manifest (default: auto)
33
-
--container-runtime string The container runtime to be used (docker, cri-o, containerd). (default "docker")
33
+
--container-runtime string The container runtime to be used. Valid options: docker, cri-o, containerd (default: auto)
34
34
--cpus string Number of CPUs allocated to Kubernetes. Use "max" to use the maximum number of CPUs. (default "2")
35
35
--cri-socket string The cri socket path to be used.
36
36
--delete-on-failure If set, delete the current cluster if start fails and try again. Defaults to false.
See <https://kubernetes.io/docs/setup/production-environment/container-runtimes/>
104
+
103
105
## Environment variables
104
106
105
107
minikube supports passing environment variables instead of flags for every value listed in `minikube config`. This is done by passing an environment variable with the prefix `MINIKUBE_`.
Copy file name to clipboardExpand all lines: translations/strings.txt
+1
Original file line number
Diff line number
Diff line change
@@ -647,6 +647,7 @@
647
647
"The path on the file system where the testing docs in markdown need to be saved": "",
648
648
"The podman service within '{{.cluster}}' is not active": "",
649
649
"The podman-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "",
650
+
"The podman-env command is only compatible with the \"crio\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "",
650
651
"The requested memory allocation of {{.requested}}MiB does not leave room for system overhead (total system memory: {{.system_limit}}MiB). You may face stability issues.": "",
651
652
"The service namespace": "",
652
653
"The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "",
0 commit comments