-
Notifications
You must be signed in to change notification settings - Fork 39.3k
-
Notifications
You must be signed in to change notification settings - Fork 39.3k
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
Jessie apt-get package incomplete #41206
Comments
cc @mikedanese ^ |
@r4j4h There are no available kubernetes packages for If you visit https://packages.cloud.google.com/apt/dists/kubernetes-jessie/main/binary-amd64/Packages, you may find an empty page. While if you visit https://packages.cloud.google.com/apt/dists/kubernetes-xenial/main/binary-amd64/Packages, you may see the package info. Currently among all the Debian platforms, kubernetes packages are only available on But you can still install and use |
I can publish kubectl to most of the distros. Supporting kubelet is significantly harder.... |
If it's at all difficult I don't think you should put yourself through extra work trying to publish to the extra distros at this point. I believe I changed some lines from xenial to jessie thinking it would be safer, and others might too, so warning that we're purposely using xenial even in other distros in the docs would probably be just as effective and easier. I apologize for straying from the docs since it caused this problem. Thanks @dixudx for explaining what I seeing while browsing. cloud-sdk does get kubectl but I ideally want other core components and have less need for the other elements of the cloud-sdk so I'll keep using xenial for now. I'll leave it open to you guys as to whether doing nothing, docs, or publishing is the right way to go. 👍 |
The problem with jessie and kubelet is that they have chosen not to enable memcg by default and to enable requires a kernel boot param, so we would have to muck with grub configs and restart the machine. No one has had time to sketch the user experience around that yet. Publishing kubectl everywhere would not be tricky. |
Yep, good point! Backports provides newer kernels for more, but also requires restarting the machine. What an annoying situation! |
@r4j4h There are no sig labels on this issue. Please add a sig label by: |
/sig cluster-lifecycle |
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 |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): No
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.): jessie, kubectl, apt-get, package
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Kubernetes version (use
kubectl version
): Affects allEnvironment:
uname -a
): Linux jessie 3.16.0-4-amd64 Unit test coverage in Kubelet is lousy. (~30%) #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/LinuxWhat happened:
The apt-get repos for debian jessie add and fetch fine but no valid packages are found.
At least for core components like kubelet and kubectl.
kops
's documentation says it uses a modified Debian as it's default base image in AWS. I understand there is extra work re: memory cgroups but these work with the xenial versions even. This problem is exclusively around being able to install only using the jessie apt-get repo.What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Start a vagrant box using
debian/jessie64
and try to install Kubernetes with:Install pre-reqs: (apt-transport-https needed for k8s, software-prop-common needed for docker)
Add jessie repo:
See it fail:
Add xenial repo too
See it succeed using both (or at least xenial and falling back to jessie for dependencies):
Anything else we need to know:
I'm not worried about kubeadm not being present, although that would be great. But shouldn't at least kubelet and kubectl be available?
https://github.com/kubernetes/release/blob/master/debian/jessie/kubectl indicates that xenial is fine to use for kubectl, but kubectl also showed up in the failed to install list.
Here's the output of the last command given to demonstrate it succeeding using both:
And at this point, aside from Debian things like memory cgroup control being disabled by default, I am able to fully proceed and create a cluster from here. I think that verifies enough that the system is capable, but that something is missing or out of date in the apt-get Jessie repo?
FWIW I believe jessie is using amd64 based on the apt-get output and https://packages.cloud.google.com/apt/dists/kubernetes-jessie/InRelease says it provides amd64. I don't know enough about apt-get to find out WHAT packages are provided by that release and the relevant folders don't seem to load properly in my browser. Sorry I can't provide more help!
The text was updated successfully, but these errors were encountered: