Minikube: The minikube version in Snap Store is out-of-date

Created on 2 May 2020  路  19Comments  路  Source: kubernetes/minikube

https://snapcraft.io/minikube

minikube

Casey Marshall (cmars) Server and Cloud

Channel | Version | Published | 聽
-- | -- | -- | --
latest/stable | 0.8.0 | 29 September 2016 | 聽
latest/edge | 0.24.1 | 24 January 2018 |

Run Kubernetes locally

Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node
Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop
with it day-to-day.

Details for minikube

License
Proprietary
Last updated
29 September 2016


Starting with Ubuntu 20.04, it is no longer possible to install .deb files using Ubuntu Software:

ubuntu-software-install-failed

And by default, it will recommend the user to install the package from the Ubuntu Snap Store:

Command 'minikube' not found, but can be installed with:

sudo snap install minikube

So this is probably how many Ubuntu users would prefer to install their version of minikube:

$ sudo snap install minikube
minikube 0.8.0 from Casey Marshall (cmars) installed
$ minikube version
minikube version: v0.8.0

It does show a link to the updated version, but as per above it is not possible to install the .deb.

It is still possible to install using the command-line, but maybe we can update the official version ?

https://minikube.sigs.k8s.io/docs/start/

Binary download

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube

Debian package

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_1.9.2-0_amd64.deb
sudo dpkg -i minikube_1.9.2-0_amd64.deb

arebuild-release help wanted kinprocess lifecyclrotten olinux packaging prioritimportant-longterm

All 19 comments

https://snapcraft.io/docs/store-brand-accounts

For larger projects and ISVs it is often a requirement to publish snaps using a brand account.

https://snapcraft.io/docs/store-brand-accounts

For larger projects and ISVs it is often a requirement to publish snaps using a brand account.

oh thanks for finding that, would u be interested to register minikube's brand in snap store? I fully support this effort.

would u be interested to register minikube's brand in snap store

I would prefer if somebody else did, are you up for it @tstromberg ?

  • I have not been in contact with Casey Marshall yet, about the name.

  • I have no idea how you make a snap or a flak or whatever the kids use...

  • I would prefer not having to do a 4th (and a 5th and a 6th) package - but.

    • tgz
    • deb
    • rpm
  • I am not sure how this interacts with the snap docker, as I am using apt

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

I can help reach out to the Snap Store team if you want to take over the snap. If you have some evidence of having reached out to Casey that'd certainly help. That'd also give you access to marking the snap as private for now so people don't mistakenly install the outdated version.

Looks like this is what the snap was based off? https://github.com/cmars/minikube-pkg

Thanks for looking into the snap packaging. As stated above, I just noted it was outdated in the distribution (Ubuntu 20.04).

Unfortunately minikube is not available in Debian, which also means that it is not available as an apt package in Ubuntu...

We have tried to get it included with the other "vendor" Kubernetes packages, but those attempts have failed so far: #3110

So the only offer right now is a unsigned repackaged binary deb, which unfortunately doesn't open (double-click) any longer...


Here is an up-to-date package, that works better: ~#7978~
https://apps.0install.net/kubernetes/minikube.xml

0install-minikube

It would be nice to get apt/snap back on track too ?
But I understand that it prefers to push microk8s...

This project is no longer being maintained and is now read-only (archived).
Use microk8s for a much lighter, faster development kubernetes in-a-snap.

Even if Casey now works on microk8s, it would surprise me if willing new maintainers couldn't take over the snap in the store now. As I said: I'd be happy to help coordinate with the snap store people, if somebody wants to start maintaining the snap in the future.

Even if Casey now works on microk8s, it would surprise me if willing new maintainers couldn't take over the snap in the store now. As I said: I'd be happy to help coordinate with the snap store people, if somebody wants to start maintaining the snap in the future.

It wasn't obvious from the store page, how to request a version upgrade or removal of unmaintained apps.

And there was no contact info for the "publisher" either, and the license information just said "Proprietary"

But it wasn't really a "terms of service" or "copyright" violation either, so just opened this issue about it...

https://snapcraft.io/minikube

minikube-report


If there is nobody willing to maintain it, it is probably better to remove it and refer users to the upstream ?

From the sources that you posted, it seems there is some more work to be done before it works in snapd:

Note that for strict confinement, this snap depends on a libvirt interface, which is currently proposed into snapd, but has not released yet. Until it has, I'm afraid this isn't quite ready for general consumption.

The snap currently only supports minikube with the KVM driver, which will be used by default when starting a new VM. Other drivers may be added later.

Other users have reported problem with docker from snap, so it would require some integration work...

Might as well use https://kubernetes.io/docs/tasks/tools/install-minikube/ until it has been completed ?

Is there a mail alias for the minikube maintainers? I'd be happy to reach out to the Snap Store and ask if snap maintenance could be transferred. Until anyone contributes an updated snapcraft.yaml (likely with classic confinement), it might make sense to mark the current as "private" in the store. As an aside: snap builds and snap publishing can be hooked up with CI.

@cmars Would you be OK with somebody else taking over maintenance of the minikube snap?

Hi @dholbach this sounds good to me! Please make a request to transfer ownership of the snap at https://forum.snapcraft.io/c/store-requests. If there's any question, ping me with the link and I'll indicate my approval there.

This comment is outdated, I landed the libvirt interface in snapd a ways back:

Note that for strict confinement, this snap depends on a libvirt interface, which is currently proposed into snapd, but has not released yet. Until it has, I'm afraid this isn't quite ready for general consumption.

However, there might be other reasons you might need classic confinement -- snapd, minikube and the kvm integration may have changed considerably since I last looked at them. If you do need classic, you'll also need to request it from the snapstore.

Got it, thanks @cmars for your support!

Is there a minikube-maintainers@ alias that could be used for transferring the snap entry to?

@dholbach - There is a [email protected] alias. It isn't very well used, but it at least goes to some of the maintainers.

I can't say I'm excited about maintaining another packaging mechanism, but if someone doesn't mind helping to integrate the build process into our Makefile, it shouldn't be too terrible to maintain.

AFAICS it'd be a snapcraft.yaml file and e.g. a Github action to build and publish to the store.

@tstromberg Is the mail alias a public mailing list? If yes, it might make sense to use the email addresses of individual project maintainers.

We need a _real_ maintainer for this package, otherwise it will just bit-rot again I'm afraid.

Since we host the deb and the rpm ourselves, we could just use any email for those...
(they are not really in the distribution, so don't have to follow all the packaging rules)

We don't even build anything, we just put exact the same binary into multiple formats.

Maybe @cmars could you unlist the snap for now? I think until somebody is willing to put some work into snapping current minikube, this might help not to confuse users.

It is now unlisted.

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

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 rotten

Was this page helpful?
0 / 5 - 0 ratings