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

minikube start --download-only downloads duplicate kubeadm/kubelet binaries #9098

Closed
tstromberg opened this issue Aug 26, 2020 · 10 comments · Fixed by #11461
Closed

minikube start --download-only downloads duplicate kubeadm/kubelet binaries #9098

tstromberg opened this issue Aug 26, 2020 · 10 comments · Fixed by #11461
Assignees
Labels
co/preload help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@tstromberg
Copy link
Contributor

kubeadm & kubelet are already included in the preload tarball.

😄  minikube v1.12.3 on Darwin 10.15.5
✨  Automatically selected the docker driver. Other choices: hyperkit, vmware, parallels, virtualbox, vmwarefusion
👍  Starting control plane node minikube in cluster minikube
💾  Downloading Kubernetes v1.18.3 preload ...
    > preloaded-images-k8s-v5-v1.18.3-docker-overlay2-amd64.tar.lz4: 510.91 MiB
    > kubelet.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s
    > kubeadm.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s
    > kubectl.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s
    > kubectl: 41.99 MiB / 41.99 MiB [---------------] 100.00% 3.03 MiB p/s 14s
    > kubeadm: 37.97 MiB / 37.97 MiB [---------------] 100.00% 2.23 MiB p/s 17s
    > kubelet: 108.04 MiB / 108.04 MiB [-------------] 100.00% 3.21 MiB p/s 33s
    > kubectl.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s
    > kubectl: 47.84 MiB / 47.84 MiB [---------------] 100.00% 4.10 MiB p/s 12s
✅  Download complete!
@priyawadhwa priyawadhwa added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. co/preload labels Aug 26, 2020
@n0npax
Copy link
Contributor

n0npax commented Aug 27, 2020

I'll try to fix this.

/assign n0npax

@afbjorklund
Copy link
Collaborator

It also includes kubectl for linux (for uploading to the node, at least)

If you want to download kubectl for the host, it might need a download.

@medyagh medyagh added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Aug 31, 2020
@n0npax n0npax removed their assignment Sep 2, 2020
@n0npax
Copy link
Contributor

n0npax commented Sep 2, 2020

I'll unassign, as seems it requires a little bit better understanding of the project.

@afbjorklund
Copy link
Collaborator

I'll unassign, as seems it requires a little bit better understanding of the project.

I think it was almost done, just that we missed that kubectl was also in the preload.

i.e. there is one kubectl for linux, that is in the preload and that we install to the node
then there is one optional kubectl client for host OS, that we download on demand
in this case, we want to skip downloading the kubectl linux that is already in the preload
should also make the code easier, since it doesn't have to special-case like before ?

@priyawadhwa priyawadhwa added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Oct 28, 2020
@priyawadhwa
Copy link

Help wanted on this.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 26, 2021
@sharifelgamal sharifelgamal added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 18, 2021
@sharifelgamal
Copy link
Collaborator

This issue is still outstanding

@medyagh
Copy link
Member

medyagh commented May 3, 2021

CC @andriyDev

@andriyDev
Copy link
Contributor

This issue is still a problem. I'll look into it more deeply.

@andriyDev
Copy link
Contributor

/assign andriyDev

@sharifelgamal sharifelgamal added this to the v1.20.0 milestone May 3, 2021
@sharifelgamal sharifelgamal added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels May 3, 2021
@medyagh medyagh modified the milestones: v1.20.0, v1.21.0 May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/preload help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants