-
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
Fix delete command for paused kic driver with containerd/crio runtime #11504
Fix delete command for paused kic driver with containerd/crio runtime #11504
Conversation
Skipping CI for Draft Pull Request. |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ilya-zuyev 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 |
kvm2 driver with docker runtime
Times for minikube ingress: 34.2s 34.7s 42.7s 35.2s 34.8s Times for minikube start: 46.8s 46.8s 47.5s 49.8s 45.7s docker driver with docker runtime
Times for minikube start: 22.8s 21.1s 22.1s 21.2s 21.5s Times for minikube ingress: 41.0s 38.5s 35.5s 31.4s 33.0s docker driver with containerd runtime
Times for minikube start: 32.3s 47.1s 44.0s 46.9s 43.7s |
kvm2 driver with docker runtime
Times for minikube ingress: 33.7s 40.7s 33.8s 38.1s 34.2s Times for minikube start: 52.4s 48.1s 47.0s 45.9s 46.6s docker driver with docker runtime
Times for minikube start: 23.2s 21.7s 22.0s 21.4s 21.3s Times for minikube ingress: 29.0s 29.5s 30.0s 29.5s 33.0s docker driver with containerd runtime
Times for minikube start: 30.7s 46.9s 43.2s 43.3s 43.0s |
kvm2 driver with docker runtime
Times for minikube (PR 11504) start: 50.6s 47.8s 49.5s 49.9s 47.0s Times for minikube ingress: 33.7s 34.2s 33.7s 34.3s 35.8s docker driver with docker runtime
Times for minikube start: 23.0s 22.0s 22.3s 23.1s 22.6s Times for minikube ingress: 36.5s 28.5s 29.0s 31.0s 29.0s docker driver with containerd runtime
Times for minikube start: 32.4s 43.5s 47.2s 43.4s 48.2s |
kvm2 driver with docker runtime
Times for minikube start: 51.8s 47.3s 48.7s 47.7s 52.2s Times for minikube (PR 11504) ingress: 33.8s 36.3s 35.3s 35.9s 34.8s docker driver with docker runtime
Times for minikube start: 22.6s 21.3s 23.0s 22.0s 23.1s Times for minikube ingress: 29.5s 33.5s 33.0s 33.5s 33.0s docker driver with containerd runtime
Times for minikube start: 44.4s 45.1s 43.6s 43.6s 43.7s |
kvm2 driver with docker runtime
Times for minikube start: 53.0s 56.4s 51.2s 53.7s 53.2s Times for minikube ingress: 35.3s 33.8s 37.1s 37.0s 34.9s docker driver with docker runtime
Times for minikube start: 23.3s 24.2s 23.7s 23.3s 21.9s Times for minikube ingress: 27.5s 26.6s 32.5s 28.1s 31.0s docker driver with containerd runtime
Times for minikube start: 49.3s 45.0s 48.6s 43.3s 48.6s |
cmd/minikube/cmd/delete.go
Outdated
func unpauseIfNeeded(profile *config.Profile) error { | ||
// there is a known issue with removing kicbase container with paused containerd containers inside | ||
// unpause it before we delete it | ||
if profile.Config.KubernetesConfig.ContainerRuntime != "containerd" { |
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.
crio also has this problem., we can check if Not Docker
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.
fixed
kvm2 driver with docker runtime
Times for minikube start: 47.9s 46.3s 47.4s 47.0s 45.4s Times for minikube ingress: 36.7s 42.2s 35.2s 34.7s 35.7s docker driver with docker runtime
Times for minikube start: 21.0s 21.8s 21.9s 21.3s 22.4s Times for minikube (PR 11504) ingress: 34.0s 34.5s 37.0s 37.5s 33.5s docker driver with containerd runtime
Times for minikube start: 43.7s 44.1s 47.5s 43.2s 44.0s |
kvm2 driver with docker runtime
Times for minikube (PR 11504) start: 49.7s 46.6s 48.9s 47.0s 51.5s Times for minikube (PR 11504) ingress: 34.8s 34.2s 34.2s 37.8s 35.2s docker driver with docker runtime
Times for minikube start: 23.0s 22.5s 23.2s 22.9s 22.5s Times for minikube ingress: 32.0s 32.0s 29.0s 29.0s 31.5s docker driver with containerd runtime
Times for minikube start: 31.8s 44.3s 47.2s 43.2s 43.7s |
This PR fixes an issue when delete operation hangs forever for paused minikube when (container-runtime=containerd or container-runtime=crio) and driver=docker
Fixes #11332
Before:
After: