-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use port forwarding on Linux with Docker Desktop #15126
Conversation
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube ingress: 31.4s 30.9s 30.9s 31.4s 30.9s Times for minikube (PR 15126) start: 58.8s 57.3s 58.6s 58.3s 60.1s docker driver with docker runtime
Times for minikube start: 32.8s 29.9s 31.1s 32.4s 29.9s Times for minikube ingress: 22.1s 21.6s 22.1s 22.1s 23.1s docker driver with containerd runtime
Times for minikube (PR 15126) start: 36.3s 27.5s 25.4s 24.9s 27.9s Times for minikube (PR 15126) ingress: 28.1s 27.1s 28.1s 28.1s 26.6s |
These are the flake rates of all failed tests.
Too many tests failed - See test logs for more details. To see the flake rates of all tests by environment, click here. |
@@ -35,6 +35,7 @@ type SysInfo struct { | |||
Rootless bool // Weather or not the docker is running on rootless mode | |||
StorageDriver string // the storage driver for the daemon (for example overlay2) | |||
Errors []string // any server issues | |||
DockerOS string // used to detect if using Docker Desktop or Docker Engine on Linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is OS short for here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Operating System, Docker detects the OS, if it's Docker Engine it lists the machines actual OS (Debian, Ubuntu, etc.) but if it's Docker Desktop it lists the OS as Docker Desktop.
cmd/minikube/cmd/start_flags.go
Outdated
@@ -611,6 +611,9 @@ func generateNewConfigFromFlags(cmd *cobra.Command, k8sVersion string, rtime str | |||
klog.Info("auto-setting LocalStorageCapacityIsolation to false because using btrfs storage driver") | |||
cc.KubernetesConfig.FeatureGates = addFeatureGate(cc.KubernetesConfig.FeatureGates, "LocalStorageCapacityIsolation=false") | |||
} | |||
if runtime.GOOS == "linux" && si.DockerOS == "Docker Desktop" { | |||
out.WarningT("For an improved experience it's recommended to use Docker Engine over Docker Desktop") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of ...
also consider adding a todo: follow up add page to site or a link to show users how to install docker-engine instead of docker desktop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update message to include a link to Docker Engine install
kvm2 driver with docker runtime
Times for minikube start: 54.2s 55.5s 55.5s 54.6s 57.1s Times for minikube ingress: 26.1s 28.6s 29.1s 28.1s 28.2s docker driver with docker runtime
Times for minikube start: 28.7s 27.7s 26.5s 26.7s 31.0s Times for minikube (PR 15126) ingress: 26.5s 23.0s 22.9s 22.0s 22.5s docker driver with containerd runtime
Times for minikube (PR 15126) ingress: 27.0s 27.0s 27.0s 27.4s 37.5s Times for minikube start: 23.4s 23.1s 22.6s 23.7s 23.2s |
These are the flake rates of all failed tests.
Too many tests failed - See test logs for more details. To see the flake rates of all tests by environment, click here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, spowelljr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #14202
Detects if the user is using Docker Desktop on Linux and requires port forwarding if they are.