-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
hyperkube: kube-proxy 1.16.11 does not work on CentOS7 #92250
Comments
/sig network These SIGs are my best guesses for this issue. Please comment 🤖 I am a bot run by vllry. 👩🔬 |
/sig release |
/triage unresolved Comment 🤖 I am a bot run by vllry. 👩🔬 |
What binaries are you extracting? The base image for hyperkube got bumped from v1.16.10 to v1.16.11 (and 1.17.7 and 1.18.4) from Debian 9 (stretch) to Debian 10 (buster). And Debian 10 has uses nftables by default (https://wiki.debian.org/iptables). Still depends on what you are extracting from the hyperkube image if this is what is affecting you. |
/opt/cni/* and /hyperkube for k8s 1.16.* We do NOT extract iptables binary, and the error is obviously produced by kube-proxy container which we do not touch. |
This seems a duplicate of #71305 (comment)
|
This is not duplicate, because CentOS 7 does NOT use nf_tables, and that issue about machines which do (say, CentOS 8). |
well, that's what the output you pasted says 😄 it seems it is using iptables-nft instead of iptables-legacy, that's what I assumed it was the same issue 😅
|
/assign |
We've published v1.18.5-rc.1, v1.17.8-rc.1, and v1.16.12-rc.1, which include new hyperkube images. Can you test these and let us know if this resolves your issue? cc: @kubernetes/release-engineering |
k8s.gcr.io/hyperkube:v1.16.12 is live, as part of https://github.com/kubernetes/kubernetes/releases/tag/v1.16.12, so this should be resolved now. Other patches: /close |
@justaugustus: 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/test-infra repository. |
Sorry, tested already on 1.16.12. Yes, it does solve the issue. Thank you!!! |
What happened:
We install k8s 1.16.11 on CentOS 7.7.1908 (Core) node using custom installer
kubelet and CNI binaries are extracted from k8s.gcr.io/hyperkube-amd64:v1.16.11 image.
Everything works, except kube-proxy (and, obviously, anything that depends on it).
It spams log with the message:
Service IP are not available from this node.
What you expected to happen:
kube-proxy works.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
This does NOT happen on 1.16.11/Ubuntu 18.04 and 1.16.10/Centos 7 on the same OS image.
Looks like iptables native/legacy mode detection is somehow broken on CentOS 7.
Environment:
kubectl version
): v1.16.11cat /etc/os-release
): CentOS Linux release 7.7.1908 (Core)uname -a
): 3.10.0-1062.9.1.el7.x86_64 Unit test coverage in Kubelet is lousy. (~30%) #1 SMPThe text was updated successfully, but these errors were encountered: