-
Notifications
You must be signed in to change notification settings - Fork 97
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
Gateway broken on K3d #7637
Gateway broken on K3d #7637
Comments
👋 @loekd Thanks for filing this bug report. A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server. For more information on our triage process please visit our triage overview |
|
We've prioritized work on this issue. Please subscribe to this issue for notifications, we'll provide updates as we make progress. We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue. For more information on our triage process please visit our triage overview |
/assign @brooke-hamilton |
@loekd thank you for opening this issue! 🚀 I can reproduce this on radius version 0.36.0 and k3d version v5.7.3 (current versions). Steps to reproduce
Expected resultAll pods are running Actual resultThe $ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-576bfc4dc7-5xcwh 1/1 Running 0 2m53s
kube-system local-path-provisioner-6795b5f9d8-h9qxz 1/1 Running 0 2m53s
kube-system metrics-server-557ff575fb-qnhdp 1/1 Running 0 2m53s
kube-system svclb-contour-envoy-e3d65e8f-mkx54 2/2 Running 0 113s
radius-system applications-rp-5847558fc6-ffdzm 1/1 Running 0 2m32s
radius-system bicep-de-6d9654cd69-gkg82 1/1 Running 0 2m32s
radius-system contour-contour-6978b48f5d-fhndb 1/1 Running 0 113s
radius-system contour-envoy-f88bx 0/2 Pending 0 113s
radius-system controller-7948677468-gk6ck 1/1 Running 0 2m32s
radius-system dashboard-65cb99dbd4-nwbn9 1/1 Running 0 2m32s
radius-system ucp-86b4fc44cd-7w7fs 1/1 Running 0 2m32s I'm working on a fix. |
The root cause is that k3d by default includes servicelb as a feature using klipper-lb, which conflicts with the load balancer deployed by Radius. The fix is to disable servicelb when creating the k3d cluster by adding k3d cluster create -p "8081:80@loadbalancer" --k3s-arg "--disable=traefik@server:*" --k3s-arg "--disable=servicelb@server:*" The Radius docs need to be updated with this information. I will submit a PR to the docs repo and close this issue when the PR is merged. Additional informationRadius uses contour as a load balancer. You can see this by examining the deployments in the $ kubectl get deployments -n radius-system
NAME READY UP-TO-DATE AVAILABLE AGE
applications-rp 1/1 1 1 77s
bicep-de 1/1 1 1 77s
contour-contour 1/1 1 1 35s
controller 1/1 1 1 77s
dashboard 1/1 1 1 77s
ucp 1/1 1 1 77s @loekd thanks again for creating this issue. |
Steps to reproduce
curl
to fetch resources at port 80 from thenginx
Service (works):curl
to try and fetch resources from one of the api services (does not work)blue
orgreen
API.Observed behavior
Gateway does not work.
Desired behavior
Gateway resource should work in the recommended way of Getting Started.
Workaround
Use docker desktop K8s or AKS. Gateway does work over there.
Docker Desktop:
rad Version
Operating system
Windows11 running WSL Dev Container based on
mcr.microsoft.com/devcontainers/base:bullseye
Additional context
No response
Would you like to support us?
AB#12414
The text was updated successfully, but these errors were encountered: