-
Notifications
You must be signed in to change notification settings - Fork 505
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
cannot install kubelet on Raspbian using apt #3707
Comments
There are no sig labels on this issue. Please add an appropriate label by using one of the following commands:
Please see the group list for a listing of the SIGs, working groups, and committees available. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/kind support |
@SlyMarbo, |
/transfer release |
+1 /close |
@neolit123: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/reopen
parhaps that's something that can be fixed on the pkg side. |
@neolit123: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
I think I've diagnosed part of the cause. It turns out that the Raspbian installation I received has a 64-bit kernel but a 32-bit userspace. So presumably the package is using the wrong logic to determine which version of the package to install and is picking |
/remove-kind bug to chime in for the artifacts I don't know if these are the official packages, but the |
Yes, that was my mistake; I discovered subsequently that I was installing 1.28 for some reason. Changing to 1.31 doesn't seem to have changed things. Separately, I've now reinstalled the Raspberry Pi with a fully 64-bit installation and that's working. So I think the issue remains that a 64-bit kernel with a 32-bit userspace results in an attempt to install the 64-bit packages, resulting in the error shown. |
@kubernetes/release-engineering @neolit123 I think this sounds reasonable, i.e. we shouldn't support a 32-bit userspace on the 64-bit operating system. That said, I don't think we should change anything on our side, but looking for some feedback on that from y'all. @aojea We indeed require |
@saschagrunert That's correct, but my point was that I'm not sure if we should support this case at all. If I understand correctly, this is happening only if you use a 32-bit userspace. I don't see it being a good idea to mix and match 64-bit kernel and 32-bit packages unless I'm missing something. And we don't provide support for 32-bit at all. |
socat neither ebtables since the dockershim deprecation that I'm aware of, containerd and crio has a native socat implementation for port-forwarding and ebtables was a kubenet legacy thing IIRC |
What happened?
I'm trying to install
kubelet
,kubeadm
, andkubectl
, using apt on Raspbian, following the instructions in the documentation.I've successfully downloaded the signing key and APT list and I'm not getting any errors from
sudo apt update
orsudo apt upgrade
. But tryingsudo apt install -y kubelet kubeadm kubectl
gives the following:I've manually installed
socat
,ethtool
,conntrack
, andlibc6
successfully, but the error continues. It looks like the cause is thatkubelet
depends explicitly onsocat:arm64
(which I can't install) and not the more genericsocat
(which is installed).This is on a pretty fresh Raspbian install, so I don't believe I've done anything custom.
What did you expect to happen?
APT to install the three packages successfully.
How can we reproduce it (as minimally and precisely as possible)?
Install Raspbian, then follow the instructions in the documentation:
Note that I've used
apt
instead ofapt-get
, but there's no difference in effect.Anything else we need to know?
No response
Kubernetes version
1.30 (but doesn't seem relevant)
Cloud provider
N/A
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: