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

Fix multinode cluster creation for VM drivers #7700

Merged
merged 13 commits into from
Apr 18, 2020

Conversation

sharifelgamal
Copy link
Collaborator

@sharifelgamal sharifelgamal commented Apr 16, 2020

NOTE: this does not fix multinode clusters for the docker or podman drivers, that will be worked on in a subsequent PR.

Changing the timestamp format in UniqueProfileName fixes an issue with kubeadm join:

Before

 out/minikube start -n 2 -p multinode-20200417T132605-28573
😄  [multinode-20200417T132605-28573] minikube v1.9.2 on Darwin 10.14.6
✨  Automatically selected the hyperkit driver. Other choices: docker, virtualbox
👍  Starting control plane node multinode-20200417T132605-28573 in cluster multinode-20200417T132605-28573
🔥  Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.18.0 on Docker 19.03.8 ...
🌟  Enabling addons: default-storageclass, storage-provisioner

👍  Starting node multinode-20200417T132605-28573-m02 in cluster multinode-20200417T132605-28573
🔥  Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🌐  Found network options:
    ▪ NO_PROXY=192.168.64.67
🐳  Preparing Kubernetes v1.18.0 on Docker 19.03.8 ...

💣  failed to start node: adding node: joining cluster: cmd failed: sudo env PATH=/var/lib/minikube/binaries/v1.18.0:$PATH kubeadm join 192.168.64.67:8443 --token uldmht.3q1boq42adbvz9gc     --discovery-token-ca-cert-hash sha256:e1f6e69159fcac0417acc93a1ded068001e27b69a005295eaf01d7f011d65efd --ignore-preflight-errors=all --v=10 --node-name=multinode-20200417T132605-28573-m02

[...]
Response Headers:
I0417 20:31:53.447894    2353 round_trippers.go:452]     Content-Length: 240
I0417 20:31:53.447897    2353 round_trippers.go:452]     Date: Fri, 17 Apr 2020 20:31:54 GMT
I0417 20:31:53.447901    2353 round_trippers.go:452]     Content-Type: application/json
I0417 20:31:53.447947    2353 request.go:1068] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"nodes \"multinode-20200417T132605-28573-m02\" not found","reason":"NotFound","details":{"name":"multinode-20200417T132605-28573-m02","kind":"nodes"},"code":404}

After:

out/minikube start -n 2 -p multinode-20200417132605-28573
😄  [multinode-20200417110600] minikube v1.9.2 on Darwin 10.14.6
✨  Automatically selected the hyperkit driver. Other choices: docker, virtualbox
👍  Starting control plane node multinode-20200417132605-28573 in cluster multinode-20200417132605-28573
🔥  Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.18.0 on Docker 19.03.8 ...
🌟  Enabling addons: default-storageclass, storage-provisioner

👍  Starting node multinode-20200417132605-28573-m02 in cluster multinode-20200417132605-28573
🔥  Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🌐  Found network options:
    ▪ NO_PROXY=192.168.64.63
🐳  Preparing Kubernetes v1.18.0 on Docker 19.03.8 ...
🏄  Done! kubectl is now configured to use "multinode-20200417132605-28573"

@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 16, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sharifelgamal

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 16, 2020
@codecov-io
Copy link

codecov-io commented Apr 16, 2020

Codecov Report

Merging #7700 into master will decrease coverage by 0.26%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7700      +/-   ##
==========================================
- Coverage   36.48%   36.22%   -0.27%     
==========================================
  Files         147      148       +1     
  Lines        9162     9217      +55     
==========================================
- Hits         3343     3339       -4     
- Misses       5430     5488      +58     
- Partials      389      390       +1     
Impacted Files Coverage Δ
pkg/minikube/perf/start.go 30.00% <0.00%> (-21.36%) ⬇️
pkg/minikube/kubeconfig/kubeconfig.go 61.06% <0.00%> (-7.63%) ⬇️
cmd/minikube/cmd/dashboard.go 1.98% <0.00%> (ø)
pkg/minikube/perf/binary.go 5.26% <0.00%> (ø)

@medyagh
Copy link
Member

medyagh commented Apr 16, 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 16, 2020
@minikube-pr-bot
Copy link

kvm2 Driver
docker Driver

@medyagh
Copy link
Member

medyagh commented Apr 16, 2020

TestFunctional/parallel/MultiNode
https://storage.googleapis.com/minikube-builds/logs/7700/0012763/VirtualBox_Linux.html#fail_TestFunctional%2fparallel%2fMultiNode

-- stdout --
	* Adding node m02 to cluster functional-20200416T033527-890
	* Starting node functional-20200416T033527-890-m02 in cluster functional-20200416T033527-890
	* Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
	* Preparing Kubernetes v1.18.0 on Docker 19.03.8 ...
-- /stdout --
** stderr ** 
	* 
	X failed to add node: startup failed: joining cluster: cmd failed: sudo env PATH=/var/lib/minikube/binaries/v1.18.0:$PATH kubeadm join 192.168.99.252:8441 --token hi2oke.vukerz299kkeacv5     --discovery-token-ca-cert-hash sha256:f7c2bc64f4ae445701f15c807c9468211499265a1eb3d52b919913300e66ed07 --ignore-preflight-errors=all --v=10 --node-name=functional-20200416T033527-890-m02
** /stderr **

Copy link
Member

@medyagh medyagh left a comment

Choose a reason for hiding this comment

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

integeration test failure needs attention

@TravisBuddy
Copy link

Travis tests have failed

Hey @sharifelgamal,
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: 950bc5f0-8005-11ea-ac79-d7a1e92f42eb

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [65.804987347 64.167032034 62.545076834]
Average time for minikube: 64.172365405

Times for Minikube (PR 7700): [59.60069063499999 61.226016404000006 62.377339624]
Average time for Minikube (PR 7700): 61.06801555433333

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7700) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.054870 |           0.053560 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.017642 |           0.017040 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.006538 |           0.002691 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.484122 |          38.944006 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 21.766550 |          20.474365 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.768851 |           1.495733 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.071244 |           0.075834 |
| configured to use "minikube"   |           |                    |
|                                |  0.002548 |           0.004787 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [25.68786745 26.968908112 26.986613584000004]
Average time for minikube: 26.547796382

Times for Minikube (PR 7700): [24.253607765 28.168776019 27.313193147000003]
Average time for Minikube (PR 7700): 26.57852564366667

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 7700) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian            |  0.068383 |           0.069281 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002469 |           0.002444 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.052124 |           0.054550 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  7.334499 |           7.230857 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.0         |  0.000159 |           0.000188 |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 16.946994 |          16.626007 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Enabling addons:                     |  2.081143 |           2.533840 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.059562 |           0.057728 |
| configured to use "minikube"           |           |                    |
|                                        |  0.002463 |           0.003630 |
+----------------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [62.832861586 67.165379004 61.67880355599999]
Average time for minikube: 63.89234804866667

Times for Minikube (PR 7700): [64.635815507 65.946127612 63.456418284]
Average time for Minikube (PR 7700): 64.67945380100001

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7700) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.060044 |           0.053909 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.022019 |           0.019154 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.002726 |           0.002821 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.799033 |          40.370169 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 21.007689 |          21.832719 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.932112 |           2.320375 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.065403 |           0.074391 |
| configured to use "minikube"   |           |                    |
|                                |  0.003322 |           0.005915 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [25.16559233 25.701941157000004 26.750444477]
Average time for minikube: 25.872659321333334

Times for Minikube (PR 7700): [25.9206135 23.975291520000003 25.579708308]
Average time for Minikube (PR 7700): 25.158537776

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 7700) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian            |  0.072279 |           0.071527 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002584 |           0.002302 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.054441 |           0.054298 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  7.251895 |           7.313340 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.0         |  0.000195 |           0.000183 |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 17.254533 |          16.677797 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Enabling addons:                     |  1.169823 |           0.974290 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.061761 |           0.061879 |
| configured to use "minikube"           |           |                    |
|                                        |  0.005148 |           0.002922 |
+----------------------------------------+-----------+--------------------+

@TravisBuddy
Copy link

Travis tests have failed

Hey @sharifelgamal,
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: 76fe9800-8035-11ea-ac79-d7a1e92f42eb

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [65.59947048699999 64.286506633 67.46537743]
Average time for minikube: 65.78378485

Times for Minikube (PR 7700): [73.21120695399999 63.648737697 63.56360985300001]
Average time for Minikube (PR 7700): 66.80785150133333

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7700) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.070083 |           0.054626 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019771 |           0.018833 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.004706 |           0.003117 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.697861 |          41.667734 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.926775 |          22.707914 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.961914 |           2.278627 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.099621 |           0.072885 |
| configured to use "minikube"   |           |                    |
|                                |  0.003054 |           0.004116 |
+--------------------------------+-----------+--------------------+

docker Driver

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [64.140636103 64.000183981 65.07100337000001]
Average time for minikube: 64.40394115133333

Times for Minikube (PR 7700): [64.173319022 62.811509994000005 66.60189722]
Average time for Minikube (PR 7700): 64.52890874533334

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7700) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.053652 |           0.053798 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.018488 |           0.020889 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.002799 |           0.002999 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.365355 |          40.956225 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 20.941698 |          21.148395 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.942867 |           2.259928 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.075652 |           0.081733 |
| configured to use "minikube"   |           |                    |
|                                |  0.003430 |           0.004941 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [25.372894488000004 25.985653527999997 24.893638941]
Average time for minikube: 25.41739565233333

Times for Minikube (PR 7700): [24.282152896 27.837081859999994 25.952439893]
Average time for Minikube (PR 7700): 26.02389154966667

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 7700) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian            |  0.070055 |           0.074076 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002316 |           0.002269 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.055867 |           0.054442 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  7.360496 |           7.499167 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.0         |  0.000185 |           0.000174 |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 16.033348 |          17.135253 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Enabling addons:                     |  1.830959 |           1.194110 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.061378 |           0.058132 |
| configured to use "minikube"           |           |                    |
|                                        |  0.002792 |           0.006269 |
+----------------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [65.510914069 62.59001409299999 62.64906744499999]
Average time for minikube: 63.583331869000006

Times for Minikube (PR 7700): [66.02202185900002 64.83706205899999 63.42499518099999]
Average time for Minikube (PR 7700): 64.76135969966667

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7700) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.056343 |           0.055893 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.017559 |           0.020125 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.002935 |           0.003339 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.903791 |          40.889669 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 20.943143 |          21.294619 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.584615 |           2.417350 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.071071 |           0.076031 |
| configured to use "minikube"   |           |                    |
|                                |  0.003876 |           0.004334 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [23.944356548999995 24.77985375 25.441796617]
Average time for minikube: 24.722002305333337

Times for Minikube (PR 7700): [27.503617784 25.107442984 26.006683977999998]
Average time for Minikube (PR 7700): 26.205914915333334

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 7700) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian            |  0.069252 |           0.069632 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002239 |           0.002059 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.052077 |           0.052417 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  7.389365 |           7.338576 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.0         |  0.000173 |           0.000178 |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 15.992471 |          17.268846 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Enabling addons:                     |  1.153699 |           1.404238 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.060029 |           0.066121 |
| configured to use "minikube"           |           |                    |
|                                        |  0.002696 |           0.003848 |
+----------------------------------------+-----------+--------------------+

Copy link
Contributor

@tstromberg tstromberg left a comment

Choose a reason for hiding this comment

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

Please name the PR in such a way that makes sense for release notes.

pkg/minikube/node/start.go Outdated Show resolved Hide resolved
@@ -57,5 +57,5 @@ func UniqueProfileName(prefix string) string {
return "minikube"
}
// example: prefix-20200413T162239-3215
return fmt.Sprintf("%s-%s-%d", prefix, time.Now().Format("20060102T150405"), os.Getpid())
return fmt.Sprintf("%s-%s-%d", prefix, time.Now().Format("20060102150405"), os.Getpid())
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this be part of another PR? I don't understand its relevance.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the multinode test that I added fails without this change

Copy link
Member

Choose a reason for hiding this comment

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

do u mind sharing the failed message in an issue and add in the PR description, that this fixes that ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

there's no real message, kubeadm join just fails with exit code 70

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added

Copy link
Member

Choose a reason for hiding this comment

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

@sharifelgamal can u update the comment with the right example

Copy link
Member

Choose a reason for hiding this comment

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

example containerd-20200417104139-6189

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@sharifelgamal sharifelgamal changed the title generate join token on control plane Fix multinode cluster created for VM drivers Apr 17, 2020
@sharifelgamal sharifelgamal changed the title Fix multinode cluster created for VM drivers Fix multinode cluster creation for VM drivers Apr 17, 2020
@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [63.363117316 63.640943307 62.794199947]
Average time for minikube: 63.26608685666667

Times for Minikube (PR 7700): [62.965772325 63.647177850000006 63.97799089200001]
Average time for Minikube (PR 7700): 63.530313689

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7700) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.056835 |           0.053961 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019282 |           0.019060 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.004960 |           0.002896 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.847918 |          40.499347 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 20.333302 |          20.667460 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.924564 |           2.208761 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.075493 |           0.074427 |
| configured to use "minikube"   |           |                    |
|                                |  0.003732 |           0.004402 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [25.563010478 26.645843853000006 24.912515305]
Average time for minikube: 25.707123212

Times for Minikube (PR 7700): [25.310121515 25.513365378 23.693296197]
Average time for Minikube (PR 7700): 24.83892769666667

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 7700) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian            |  0.070060 |           0.069381 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002213 |           0.002145 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.057488 |           0.053452 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  7.191756 |           7.298302 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.0         |  0.000180 |           0.000204 |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 16.968388 |          16.286881 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Enabling addons:                     |  1.352928 |           1.062971 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.060602 |           0.061685 |
| configured to use "minikube"           |           |                    |
|                                        |  0.003508 |           0.003907 |
+----------------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [65.47006957400001 61.96266591700001 62.266418864]
Average time for minikube: 63.233051451666675

Times for Minikube (PR 7700): [63.66640616400001 60.078892640999996 65.763345634]
Average time for Minikube (PR 7700): 63.16954814633334

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7700) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.055858 |           0.058667 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.018179 |           0.019445 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.002932 |           0.003106 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.874687 |          39.591408 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 20.693076 |          21.490927 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.502309 |           1.937107 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.082851 |           0.063898 |
| configured to use "minikube"   |           |                    |
|                                |  0.003160 |           0.004990 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [25.732567455 24.948840163999996 25.792582645]
Average time for minikube: 25.491330087999998

Times for Minikube (PR 7700): [35.234676338999996 24.921866190000003 25.937115455]
Average time for Minikube (PR 7700): 28.697885994666667

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 7700) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian            |  0.069354 |           0.068467 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002232 |           0.002178 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.053732 |           0.053416 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  7.359645 |           7.321466 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.0         |  0.000186 |           0.000164 |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 16.877019 |          19.984685 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Enabling addons:                     |  1.067259 |           1.204474 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.059351 |           0.059004 |
| configured to use "minikube"           |           |                    |
|                                        |  0.002552 |           0.004031 |
+----------------------------------------+-----------+--------------------+

Copy link
Member

@medyagh medyagh left a comment

Choose a reason for hiding this comment

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

looks good, plz let wait for a integraion tests to pass.
linux virtualbox, kvm, docker and none and hyperkit

@sharifelgamal
Copy link
Collaborator Author

/retest

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [65.36208007900001 64.382755766 67.125498376]
Average time for minikube: 65.62344474033333

Times for Minikube (PR 7700): [62.76367389400001 65.462877132 63.720044285]
Average time for Minikube (PR 7700): 63.982198437

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7700) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.056276 |           0.055817 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.018582 |           0.016756 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.003220 |           0.003456 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.097328 |          41.257553 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.240252 |          20.557533 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.127169 |           2.010453 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.073785 |           0.077092 |
| configured to use "minikube"   |           |                    |
|                                |  0.006833 |           0.003540 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [24.010689598 25.94618163 24.342688628]
Average time for minikube: 24.766519952

Times for Minikube (PR 7700): [25.596129033 25.534473208 25.770170040999997]
Average time for Minikube (PR 7700): 25.633590760666667

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 7700) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian            |  0.072534 |           0.075903 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002058 |           0.003226 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.054665 |           0.058177 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  7.292879 |           7.425543 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.0         |  0.000145 |           0.000164 |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 16.422139 |          17.103401 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Enabling addons:                     |  0.858037 |           0.894092 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.061386 |           0.068678 |
| configured to use "minikube"           |           |                    |
|                                        |  0.002678 |           0.004407 |
+----------------------------------------+-----------+--------------------+

@sharifelgamal sharifelgamal merged commit cb62197 into kubernetes:master Apr 18, 2020
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants