Skip to content
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

wip: docker/podman: make soft start 20 seconds faster #7435

Closed
wants to merge 13 commits into from

Conversation

medyagh
Copy link
Member

@medyagh medyagh commented Apr 5, 2020

Before this PR:

Soft Start:

$ time minikube start --driver=docker
πŸ˜„  minikube v1.9.2 on Darwin 10.13.6
✨  Using the docker driver based on existing profile
πŸ‘  Starting control plane node m01 in cluster minikube
🚜  Pulling base image ...
πŸƒ  Updating the running docker "minikube" container ...
🐳  Preparing Kubernetes v1.18.0 on Docker 19.03.2 ...
    β–ͺ kubeadm.pod-network-cidr=10.244.0.0/16
🌟  Enabling addons: default-storageclass, storage-provisioner
πŸ„  Done! kubectl is now configured to use "minikube"

real	0m28.200s
user	0m4.165s
sys	0m1.921s

After this PR:

Soft Start:

$ make && time ./out/minikube start --driver=docker
make: `out/minikube' is up to date.
πŸ˜„  minikube v1.9.2 on Darwin 10.13.6
✨  Using the docker driver based on existing profile
πŸ‘  Starting control plane node m01 in cluster minikube
🚜  Pulling base image ...
πŸƒ  Updating the running docker "minikube" container ...
🐳  Preparing Kubernetes v1.18.0 on Docker 19.03.2 ...
    β–ͺ kubeadm.pod-network-cidr=10.244.0.0/16
🌟  Enabling addons: default-storageclass, storage-provisioner
πŸ„  Done! kubectl is now configured to use "minikube"

real	0m8.949s
user	0m2.953s
sys	0m1.418s

this PR:

  • do NOT disable other run-times when it is "docker-runtime on kic drivers"
    because in ubuntu docker service needs contianerd service. containerd service is running on docker driver with docker run timeΒ #7433 (comment)
    (unlike our VM installation that uses runc)
  • improve logging, add logging when it doesnt need reset. (to use in test)
  • add integration tests for soft start to ensure, we do not Hard Start ever again !
  • renaming the preload test and putting in in a different file

closes #7432

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 5, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: medyagh

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 5, 2020
@medyagh medyagh changed the title docker/podman drivers: dont reset kubeadm on soft start docker/podman: make soft start 20 seconds faster Apr 5, 2020
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 5, 2020
@codecov-io
Copy link

codecov-io commented Apr 5, 2020

Codecov Report

Merging #7435 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7435   +/-   ##
=======================================
  Coverage   36.69%   36.69%           
=======================================
  Files         146      146           
  Lines        8988     8988           
=======================================
  Hits         3298     3298           
  Misses       5297     5297           
  Partials      393      393           

@medyagh
Copy link
Member Author

medyagh commented Apr 5, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Apr 5, 2020
@minikube-pr-bot
Copy link

Error: running mkcmp: exit status 1

@minikube-pr-bot
Copy link

All Times minikube: [ 66.459805 67.008314 66.613270]
All Times Minikube (PR 7435): [ 67.134127 65.557762 67.213850]

Average minikube: 66.693796
Average Minikube (PR 7435): 66.635246

Averages Time Per Log

+----------------------+-----------+--------------------+
|         LOG          | MINIKUBE  | MINIKUBE (PR 7435) |
+----------------------+-----------+--------------------+
| minikube v           |  0.197166 |           0.151383 |
| Creating kvm2        | 41.242192 |          40.738744 |
| Preparing Kubernetes | 22.748632 |          23.651160 |
| Pulling images       |           |                    |
| Launching Kubernetes |           |                    |
| Waiting for cluster  |           |                    |
+----------------------+-----------+--------------------+

@TravisBuddy
Copy link

Travis tests have failed

Hey @medyagh,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 71c8c370-77b5-11ea-9e3c-5ffc71d44b96

@medyagh medyagh requested a review from tstromberg April 6, 2020 03:23
@minikube-pr-bot
Copy link

All Times minikube: [ 70.190356 67.535855 66.461302]
All Times Minikube (PR 7435): [ 66.709168 70.876648 66.349757]

Average minikube: 68.062505
Average Minikube (PR 7435): 67.978524

Averages Time Per Log

+----------------------+-----------+--------------------+
|         LOG          | MINIKUBE  | MINIKUBE (PR 7435) |
+----------------------+-----------+--------------------+
| minikube v           |  0.156700 |           0.151752 |
| Creating kvm2        | 43.756944 |          42.847480 |
| Preparing Kubernetes | 21.845146 |          22.679902 |
| Pulling images       |           |                    |
| Launching Kubernetes |           |                    |
| Waiting for cluster  |           |                    |
+----------------------+-----------+--------------------+

@medyagh
Copy link
Member Author

medyagh commented Apr 6, 2020

This PR reveals that the Soft Start is borken in KVM for containerd and ciro.

https://storage.googleapis.com/minikube-builds/logs/7435/0f498bc/KVM_Linux.html#fail_TestStartStop%2fgroup%2fcontainerd

I created an issue for it:
#7448

@medyagh
Copy link
Member Author

medyagh commented Apr 6, 2020

/retest-this-please

@minikube-pr-bot
Copy link

All Times minikube: [ 66.663227 69.733462 65.473618]
All Times Minikube (PR 7435): [ 65.964520 64.931208 65.531000]

Average minikube: 67.290102
Average Minikube (PR 7435): 65.475576

Averages Time Per Log

+----------------------+-----------+--------------------+
|         LOG          | MINIKUBE  | MINIKUBE (PR 7435) |
+----------------------+-----------+--------------------+
| minikube v           |  0.176712 |           0.235529 |
| Creating kvm2        | 42.809697 |          40.587992 |
| Preparing Kubernetes | 21.983247 |          22.383030 |
| Pulling images       |           |                    |
| Launching Kubernetes |           |                    |
| Waiting for cluster  |           |                    |
+----------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [69.921619517 70.802998468 65.065768428]
Average time for minikube: 68.59679547100001

Times for Minikube (PR 7435): [64.694791715 67.896371299 65.849620819]
Average time for Minikube (PR 7435): 66.14692794433334

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.059091 |           0.059618 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.025225 |           0.022395 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.002290 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 42.912353 |          40.320773 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.214120 |          23.167102 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.302536 |           2.476567 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.077585 |           0.092702 |
| configured to use "minikube"   |           |                    |
|                                |  0.003596 |           0.003196 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [66.229810192 66.352560128 68.75730623]
Average time for minikube: 67.11322551666666

Times for Minikube (PR 7435): [68.90433619 65.660107295 65.990217964]
Average time for Minikube (PR 7435): 66.85155381633334

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.053396 |           0.054052 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019193 |           0.020689 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003489 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.235427 |          41.128229 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.349055 |          23.406411 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.363385 |           2.159600 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.085126 |           0.075597 |
| configured to use "minikube"   |           |                    |
|                                |  0.004155 |           0.003400 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [64.342460773 65.64893781500001 64.928516556]
Average time for minikube: 64.973305048

Times for Minikube (PR 7435): [66.144200548 62.949807789 64.973940156]
Average time for Minikube (PR 7435): 64.68931616433333

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.052713 |           0.054449 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019656 |           0.020463 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003841 |           0.003359 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.882446 |          40.416316 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 21.474315 |          22.119567 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.455746 |           1.995502 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.081226 |           0.075858 |
| configured to use "minikube"   |           |                    |
|                                |  0.003362 |           0.003803 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [70.462831163 66.38545171299998 66.378763811]
Average time for minikube: 67.74234889566667

Times for Minikube (PR 7435): [66.298196277 65.30612192 67.18407289299999]
Average time for Minikube (PR 7435): 66.26279703

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.054820 |           0.053766 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020777 |           0.020429 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003572 |           0.003384 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 42.399298 |          41.158488 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.183687 |          22.864188 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.999387 |           2.083361 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.076894 |           0.074836 |
| configured to use "minikube"   |           |                    |
|                                |  0.003913 |           0.004347 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [68.79002064399998 64.40251401200001 67.631535483]
Average time for minikube: 66.941356713

Times for Minikube (PR 7435): [66.23886524799998 65.86580966400001 65.053932536]
Average time for Minikube (PR 7435): 65.719535816

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.053758 |           0.054703 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020303 |           0.020386 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003477 |           0.003937 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.414672 |          40.802127 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.982828 |          22.403950 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.379798 |           2.352113 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.082986 |           0.078819 |
| configured to use "minikube"   |           |                    |
|                                |  0.003534 |           0.003502 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [65.3999139 67.955303371 68.521027936]
Average time for minikube: 67.29208173566667

Times for Minikube (PR 7435): [67.052642825 67.34167194200002 69.70474562]
Average time for Minikube (PR 7435): 68.03302012900001

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.054243 |           0.055436 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020261 |           0.021101 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003338 |           0.003137 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.417395 |          42.293236 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.250376 |          23.242254 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.457092 |           2.323792 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.085816 |           0.089806 |
| configured to use "minikube"   |           |                    |
|                                |  0.003561 |           0.004258 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [66.007845527 65.217532629 65.39691944]
Average time for minikube: 65.54076586533334

Times for Minikube (PR 7435): [69.06536100699999 66.08673480300001 69.36333913099999]
Average time for Minikube (PR 7435): 68.17181164699998

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.054793 |           0.054449 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020206 |           0.020525 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003316 |           0.003810 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.507691 |          42.621659 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.767426 |          23.021422 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.109654 |           2.366046 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.074537 |           0.080147 |
| configured to use "minikube"   |           |                    |
|                                |  0.003142 |           0.003754 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [64.800147229 65.303331192 65.617344792]
Average time for minikube: 65.24027440433333

Times for Minikube (PR 7435): [69.826131578 67.280785475 71.43001914]
Average time for Minikube (PR 7435): 69.51231206433333

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.055018 |           0.053466 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020150 |           0.020111 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003126 |           0.003272 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.246098 |          43.828823 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.218120 |          23.129187 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.611732 |           2.372201 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.082685 |           0.100634 |
| configured to use "minikube"   |           |                    |
|                                |  0.003348 |           0.004618 |
+--------------------------------+-----------+--------------------+

@@ -443,15 +443,15 @@ func (k *Bootstrapper) needsReset(conf string, hostname string, port int, client
}

if err := kverify.ExpectAppsRunning(client, kverify.AppsRunningList); err != nil {
glog.Infof("needs reset: %v", err)
glog.Infof("needs reset because expected components to be running : %v", err)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems too difficult to read. Is the error retutrned by ExpectAppsRunning not meaningful already?

If not, just use: needs reset: expected apps: %v.

return true
}

if err := kverify.APIServerVersionMatch(client, version); err != nil {
glog.Infof("needs reset: %v", err)
glog.Infof("needs reset because API server version match : %v", err)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be reverted. The error made sense already. If not:

needs reset: api version: %v

@@ -213,6 +213,10 @@ func configureRuntimes(runner cruntime.CommandRunner, cc config.ClusterConfig, k
if driver.BareMetal(cc.Driver) {
disableOthers = false
}
if driver.IsKIC(cc.Driver) && cc.KubernetesConfig.ContainerRuntime == "docker" {
// in kic driver, the docker service binds to containerd service https://github.com/kubernetes/minikube/issues/7433
disableOthers = false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but what about crio?

I think this fix should be done in cruntime.

pkg/provision/provision.go Show resolved Hide resolved
if !strings.Contains(tc.name, "cni") {
testPodScheduling(ctx, t, profile)
}

rr, err = Run(t, exec.CommandContext(ctx, Target(), "stop", "-p", profile, "--alsologtostderr", "-v=3"))
if err != nil {
t.Errorf("failed stopping minikube - first stop-. args %q : %v", rr.Command(), err)
t.Errorf("failed stopping minikube - post soft start -. args %q : %v", rr.Command(), err)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This text does not make sense to me. How about:

failed to stop minikube after initial soft start

@minikube-pr-bot
Copy link

Times for minikube: [66.98513241500001 69.52975477399998 67.681193387]
Average time for minikube: 68.065360192

Times for Minikube (PR 7435): [66.446504379 65.657865541 63.84105628799999]
Average time for Minikube (PR 7435): 65.31514206933333

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.053681 |           0.055530 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.018950 |           0.020697 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003424 |           0.003211 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.272773 |          40.605966 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 24.265561 |          22.271142 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.362032 |           2.277341 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.085727 |           0.077658 |
| configured to use "minikube"   |           |                    |
|                                |  0.003213 |           0.003597 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [72.16700866100001 68.992651448 69.330313644]
Average time for minikube: 70.16332458433334

Times for Minikube (PR 7435): [68.951413713 70.700527562 69.96889310899999]
Average time for Minikube (PR 7435): 69.87361146133334

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.055549 |           0.055289 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020754 |           0.020748 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003470 |           0.003574 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 44.524450 |          43.038814 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.064248 |          24.585836 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.399685 |           2.082455 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.091576 |           0.082449 |
| configured to use "minikube"   |           |                    |
|                                |  0.003592 |           0.004447 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [67.52800797800002 67.78468253 64.83584458500002]
Average time for minikube: 66.71617836433335

Times for Minikube (PR 7435): [69.51682120699999 65.96690784100001 69.657864764]
Average time for Minikube (PR 7435): 68.38053127066667

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.056375 |           0.053368 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020434 |           0.020089 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003959 |           0.003721 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.824121 |          42.258484 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.581463 |          23.575021 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.146588 |           2.388870 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.079503 |           0.077060 |
| configured to use "minikube"   |           |                    |
|                                |  0.003736 |           0.003920 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [64.12432385 66.790222747 67.16601872]
Average time for minikube: 66.02685510566666

Times for Minikube (PR 7435): [65.39803821900001 67.23607107 69.88821709300001]
Average time for Minikube (PR 7435): 67.50744212733335

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7435) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.056058 |           0.055503 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.021265 |           0.020124 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.004260 |           0.003354 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.791127 |          41.770603 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.098135 |          23.113669 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.968298 |           2.458948 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.084213 |           0.080997 |
| configured to use "minikube"   |           |                    |
|                                |  0.003500 |           0.004244 |
+--------------------------------+-----------+--------------------+

@medyagh medyagh changed the title docker/podman: make soft start 20 seconds faster wip: docker/podman: make soft start 20 seconds faster Apr 15, 2020
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 15, 2020
@medyagh medyagh closed this Apr 16, 2020
@medyagh medyagh deleted the dont_reset branch May 2, 2020 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker driver, start again always needs a reset why ?
6 participants