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
Investigate using snap packages #44
Comments
cc @mansoorj @kelseyhightower @kubernetes/sig-cluster-lifecycle |
Sadly these cross-distro packaging solutions have almost as many variations as their distro specific packaging managers. What is the scope or desire for using snap (or similar) to package Kubernetes releases? Easier installation? I don't understand the benefit of snap over a statically compiled binary and/or running inside containers which are already cross distro "packages". I'm not trying to say it's a bad idea, I just don't understand it. |
Chuck covered this in the sig-cluster-lifecycle call so I'll add the responses here as well as clarify some of the other ones we mentioned since we were running out of time:
I can't speak about the other cross-distro packaging formats other than they appear to be desktop specific and not something you'd run on a cloud. As discussed in the meeting, we'll work on a PR to kick off this work, thanks! |
I'm ignorant about the release process. Reading through some of this repo didn't explain the following questions so maybe someone can help
|
@castrojo Thanks for including the notes. This makes a lot of sense to me if docker is bundled with the snap. It could easily keep compatible version of docker + kubelet together. I have not tried snap myself so I'll need to play with how it works if I have docker on the host and then install/run a snap isolated docker daemon on the same system. |
@rothgar in reply to "if i have docker on the host then install a snap isolated daemon" You'll have to ensure the docker socket is inside the sandbox, or make a privileged snap so it can modify files outside of its isolated sandbox. Then it's the exact same principal as having a bootstrap docker daemon vs a workload docker daemon. The separate daemon approach was mentioned in the running kubernetes in docker guides. |
@rothgar This repo was setup to hold the release automation tooling wrapping the build tooling that exists in kubernetes/kubernetes and to handle all of the pushing, notifying, and release notes gathering around kubernetes releases. It is expected that functionality will grow with contributions and we will use this repo to hold all things release and packaging related. The build scripts in kubernetes/kubernetes do not currently produce other types of packaging (dev, rpm). There is an open PR in this repo exploring the possibility. |
kubelet has many dependencies, as documented in kubernetes/kubernetes#26093, so it'd be good to understand if all of those can be snapped-up. |
Ah! This is very helpful @errordeveloper. Thanks for the detailed callout of what we'll need to consider for the snaps. I'll take this list and confer with some of the snappy devs to ensure we can accommodate this list. We'll spike on a first draft of what this looks like on Tuesday, and see where we end up. That'll give us a good first go at where we fell down if so, and what would need to be done . |
Any progress on this? |
We did some initial investigation. There is a docker plug being written that will unblock this effort. But today it's still a no go |
Fyi, snap support proposed in #293 |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/close Closing in favour of #293. |
http://snapcraft.io/
It would be nice to have atomic operations for packaging as well as the ability to publish to an edge channel (perhaps per commit in master?), rollbacks, and other features.
I can find someone to help mentor.
The text was updated successfully, but these errors were encountered: