Closed gboutry closed 4 weeks ago
Github fails to attach my inspection reports, is there another place where I can upload them?
Hey @gboutry, thanks for posting this issue.
I was able to reproduce the issue and this seems to be related to cilium failing to auto-detect/choose the correct interface to do routing with. I'll bring up the issue for a discussion in the team and we'll decide on a solution that might include efforts on our side to choose the correct interface.
More technically a non-default route seems to be de-prioritized in auto detection so we might need to set the devices
option of cilium manually based on the node ip supplied on bootstrap. Cilium docs for reference
Summary
I have a simple setup where I'm running LXD and K8S on the same laptop. K8s is bootstrapped on the
lxdbr0
first ip address (host ip on this network), and is configured to advertised a given range on to provide loadbalancer feature.When deploying from the k8s snap cilium based, I can't reach the LoadBalanced services exposed on k8s:
When deploying with Microk8s or the moonray track, this works correctly:
Graph of setup:
What Should Happen Instead?
I should be able to reach l2 advertised ip addresses on my laptop from my LXD VMs
Reproduction Steps
k8s.yaml:
System information
PRETTY_NAME="Ubuntu 24.04.1 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.1 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu
Can you suggest a fix?
No response
Are you interested in contributing with a fix?
No response