-
Notifications
You must be signed in to change notification settings - Fork 776
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
Error Enabling Addon "metallb" #3530
Comments
I was recently working on a similar issue, and I determined the proxy wasn't set correctly in the |
I'm seeing the same issue on two 22.10 ubuntu systems, I opened a thread in discourse: https://discuss.kubernetes.io/t/error-enabling-metallb-internal-error-context-deadline-exceeded/22092/ |
I repeated my same steps on an Ubuntu 22.04 LTS install, and this time it all worked. More specifically, I retried a simpler case in VMs first, without involving |
I'm having the same issues with 3 miniforum nucs and Ubuntu 22.10. |
looking at the discussion panlinux posted it looks like you were having webhook error
try running and see if failurePolicy is set to Fail, I believe you can set it to ignore. It looks like it might be getting hung on proxy? so that might be another option to look into |
It's
No proxy. This can be easily replicated in a kinetic vm. I just did it now, with microk8s 1.25.4 and two kinetic vms. |
Hi @panlinux, this could be related to a vxlan bug that breaks checksum calculation. Could you try to see whether:
helps with your issue? |
It seems to help to put e.g.
as suggested somewhere above and in this metallb repo issue.(I had activated the DNS addon before activating the metallb addon, i.e. |
@neoaggelos thanks for the workaround. I just tried your fix and it works. My setup 4 x RPI 4B running on 22.10 server with DNS addon. I patched |
spec: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Summary
Enabling Addon metallb throws error:
Services with Type "LoadBalancer" are in state "pending":
k get svc:
default test LoadBalancer 10.152.183.52 <pending> 80:31110/TCP 44m
What Should Happen Instead?
No errors while activating metallb-Addon and Services with type LoadBalancer should get an IP
Reproduction Steps
Following the Guide: https://ubuntu.com/tutorials/how-to-kubernetes-cluster-on-raspberry-pi#1-overview
cgroup_enable=memory cgroup_memory=1 -> whole line looks like:
cgroup_enable=memory cgroup_memory=1 console=serial0,115200 dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet splash
3)reboot
4) install microk8s via snap
5) Build Cluster via microk8s
6) Enabling Microk8s Addons:
Pods seem to run fine:
Introspection Report
After inspect there is an error:
The memory cgroup is not enabled, but it should be
-> (please look at Reproduction Steps)
Can you suggest a fix?
I tried the same setup, but with Ubuntu 20.04.5: no Errors, Services with Type LoadBalancer are receiving an IP.
So the the error must have something to do with Ubuntu 22.10
Are you interested in contributing with a fix?
I would like to help, but dont know how
inspection-report-20221027_133229.tar.gz
The text was updated successfully, but these errors were encountered: