-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Cilium deployment fails to pass conn test and sonobuoy #8546
Comments
Hello, |
/assign |
Sorry for going dark for a while. I had a busy week. :) There's a similar issue on Cilium's issue board. However, disabling the host firewall didn't help me at all. I've seen an iptables rule on the
I've also tried using other Cilium versions but had the same results. I will try to install Cilium manually and solve the issue that way. Our Cilium files on Kubespray are somewhat dated. I will handle the necessary updates if I manage to find the problem. |
It's actually even worse with manual install - kube_network_plugin: cni and installed with cilium cli, more tests are failing with cilium connectivity test and sonobuoy. Sorry, I forgot to mention it here, manual install was the second thing that I tried. That issue on cillium issue board seems to be caused by fw, in this case, I had the host firewall disabled of course.
Just running sonobuoy on manual install and there are already 3 failures (86/346). |
Sonobuoy results with manual install:
|
Hello, We've managed to pass all tests with our manual installation. However, there are way too many variables flying around, so we don't know the minimum required change. Some variables aren't present in Kubespary, and we will add those to Kubespray. |
/assign |
We (@necatican and I) applied these steps to do a clean install. With the below steps, you can install cilium without kube-proxy and Host Routing as eBPF
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: 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. |
Hi everyone,
I deployed a cluster with kubespray (master branch) with cilium cni which was the only change that I did to group_vars- kube_network_plugin: cilium.
I am not sure if there is some additional configuration that must be set in group_vars for kubespray to work with a cilium, but I have 3 problems with the default kubespray cilium deployment. I tested it in our DC and locally with Vagrant for verification, both fails on these 3 problems.
[sig-network] HostPort validates that there is no conflict between pods with same hostPort but different hostIP and protocol [LinuxOnly] [Conformance]
Sonobuoy focus log: https://gist.github.com/ShiroDN/6c1790f52fad9f4235579a05e8be6e05
Steps to reproduce:
$ cilium hubble enable --ui
sonobuoy run --mode=certified-conformance
or you can run the failed test directly:
Environment:
Cloud provider or hardware configuration: KVM VPS in our DC and Vagrant for verification
OS (
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):Version of Ansible (
ansible --version
):ansible 2.10.15
Version of Python (
python --version
):Python 3.10.2
Kubespray version (commit) (
git rev-parse --short HEAD
):da8522af
Network plugin used:
cilium
Full inventory with variables (
ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"
):Command used to invoke ansible:
ansible-playbook -i inventory/kube01/hosts.yaml --become --become-user=root -K -u ubuntu cluster.yml
Output of ansible run:
Playbook completes without any fail.
Anything else do we need to know:
The text was updated successfully, but these errors were encountered: