<@U04S8PLJWMT> i installed airbyte using helm char...
# ask-ai
j
@kapa.ai i installed airbyte using helm charts v2, i am trying to configure nginx ingress using the following resource file, but when i go to http://airbyte.local (after making sure it resolves to the right IP) i get "404 page not found" and nothing loads in http://airbyte.local:8001 apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: airbyte-ingress namespace: airbyte-v2 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/ssl-redirect: "false" spec: ingressClassName: nginx rules: - host: airbyte.local http: paths: - path: / pathType: Prefix backend: service: name: airbyte-airbyte-server-svc port: number: 8001 - path: /api/v1/connector_builder/ pathType: Prefix backend: service: name: airbyte-airbyte-connector-builder-server-svc port: number: 80
k
It looks like your paths/backend order is reversed. With Helm v1.7+ the webapp was merged into server, and the Connector Builder API must be routed explicitly to the connector-builder service, while all other paths go to the server. Put the Connector Builder rule before the catch‑all “/” rule, and be sure the path ends with a trailing slash. Try:
Copy code
yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata:   name: airbyte-ingress   namespace: airbyte-v2   annotations:     kubernetes.io/ingress.class: "nginx"     nginx.ingress.kubernetes.io/ssl-redirect: "false" spec:   ingressClassName: nginx   rules:   - host: airbyte.local     http:       paths:       - path: /api/v1/connector_builder/         pathType: Prefix         backend:           service:             name: airbyte-airbyte-connector-builder-server-svc             port:               number: 80       - path: /         pathType: Prefix         backend:           service:             name: airbyte-airbyte-server-svc             port:               number: 8001
Notes: - The trailing slash on /api/v1/connector_builder/ avoids misrouting builder UI requests (e.g., .../connector_builder_projects/list) to the wrong service ([Update ingress for 1.7+](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-helm)). - Ensure your DNS points to the ingress controller and that the services exist with those exact names in the same namespace. Misrouting all traffic to webapp/server causes 404s for builder endpoints ([Ingress guidance](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress), [community fix](https://github.com/airbytehq/airbyte/issues/63770)). - If you’re on Enterprise, the same pattern applies; route builder API to airbyte-connector-builder-server-svc and everything else to airbyte-server-svc ([Enterprise ingress examples](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#configuring-ingress)).
j
@kapa.ai i tried that yaml and after applying it, i get the same result
k
A message from kapa.ai
A few targeted checks to isolate the 404: 1) Verify services and ports in the same namespace - kubectl -n airbyte-v2 get svc airbyte-airbyte-server-svc airbyte-airbyte-connector-builder-server-svc - Confirm server service exposes port 8001 and builder service exposes port 80, as expected by the ingress examples (route “/” to server:8001 and “/api/v1/connector_builder/” to builder:80) ([Update ingress for 1.7+](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-helm), [Ingress examples](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress)). 2) Ensure the path for builder has a trailing slash and is evaluated first - Your YAML already reflects this. This is required to avoid 404s on builder UI calls like /api/v1/connector_builder_projects/list ([Ingress 1.7+ note](https://github.com/airbytehq/airbyte/issues/61677)). 3) Confirm the ingress controller is receiving traffic for airbyte.local - kubectl -n ingress-nginx get ingressclass - kubectl -n airbyte-v2 describe ingress airbyte-ingress (check that class is nginx and backends are “<service>:<port>”) - Check nginx ingress controller logs for 404s or “no upstream” messages. 4) Test host header routing - curl -I http://<INGRESS_IP>/ -H 'Host: airbyte.local' - curl -I http://<INGRESS_IP>/api/v1/connector_builder/ -H 'Host: airbyte.local' If these return 404 before hitting Airbyte, the issue is ingress routing or DNS. 5) Check for legacy webapp target or wrong port - Some setups still point to a non-existent webapp-svc; ensure no other ingress conflicts and that only server-svc is the catch‑all backend ([Helm/abctl ingress pitfalls](https://github.com/airbytehq/airbyte/issues/65539)). - Server must be 8001, not 8000 ([community notes](https://github.com/airbytehq/airbyte/issues/61677)). 6) Cross‑check the exact service names created by Helm v2 - If your Helm release name/namespace differ, the service names may be different from “airbyte-airbyte-…”. Adjust names to match your deployment (docs show the ${RELEASE_NAME}-airbyte-server-svc pattern) ([docs example](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress), [v1.7+ guide](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-helm)). 7) If using NGINX, confirm class/annotation alignment - Either use spec.ingressClassName: nginx or annotation kubernetes.io/ingress.class: nginx (you can keep both, but the controller must watch “nginx”). If all above checks pass, please share: - kubectl -n airbyte-v2 get svc,ingress - kubectl -n airbyte-v2 describe ingress airbyte-ingress - One curl -v to / with Host: airbyte.local This will help pinpoint whether the 404 originates at the ingress or the Airbyte server.
j
@kapa.ai if the webapp was merged into server, why do i still see a service called airbyte-airbyte-webapp-svc?
k
A message from kapa.ai
Short answer: because some deployments and tools still create or reference it, even though it’s no longer used. Details: - Starting in 1.7 Airbyte began merging webapp into server, and in 1.8 the webapp image was removed and is no longer independently deployable. Ingress should point to server (and connector-builder for its API) instead of webapp ([Breaking changes 1.7→1.8](https://docs.airbyte.com/release_notes/breaking-changes), [Airbyte 1.8 breaking change](https://docs.airbyte.com/release_notes/v-1.8#breaking-changes), [Ingress update guidance](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7)). - However, some Helm chart versions and abctl-generated configs still reference webapp in ingress or even create resources with webapp names, causing confusion and 404s (e.g., ingress pointing to a non-existent webapp-svc) ([issue: incorrect ingress target](https://github.com/airbytehq/airbyte/issues/65539), [issue: helm 1.8.x webapp image not found and deprecation](https://github.com/airbytehq/airbyte/issues/65096), [issue: missing ingress after disabling webapp](https://github.com/airbytehq/airbyte/issues/64941)). - In older docs/examples or clusters upgraded across versions, a leftover airbyte-webapp-svc can remain if not cleaned up, or if an ingress/custom manifest still defines it ([ingress examples now route to server/connector-builder](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress-1-7)). Action: point your ingress “/” to airbyte-server-svc and “/api/v1/connector_builder/” to airbyte-connector-builder-server-svc; remove or ignore any webapp-svc references to avoid misrouting ([Ingress 1.7+ example](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress-1-7)).
j
@kapa.ai i changed my class to traefik and now it works, nginx was not being picked up
k
A message from kapa.ai
Glad you got it working with Traefik. That points to the NGINX ingress controller not matching your IngressClass or not being installed/active. For NGINX, make sure: - An NGINX ingress controller is installed and running, and that it watches the class name you use (either annotation kubernetes.io/ingress.class: nginx or spec.ingressClassName: nginx) ([Ingress docs](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress)). - Your Ingress routes “/api/v1/connector_builder/” to the connector-builder service and “/” to the server service, in that order ([Update ingress for 1.7+](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-helm)). If you switch back to NGINX later, recheck the IngressClass and controller logs to ensure it’s being picked up by the right controller.
j
@kapa.ai if i want to user traefik instead of nginx, what yaml should i apply?
k
A message from kapa.ai
I’m sorry, but the knowledge sources only provide ingress examples for NGINX and AWS ALB; they don’t include a Traefik-specific manifest. The key routing you need to replicate in Traefik is: - Route /api/v1/connector_builder/ to the airbyte-connector-builder-server-svc on port 80. - Route / to the airbyte-server-svc on port 8001. Ensure the Connector Builder rule is evaluated before the catch‑all “/” rule (pathPrefix). These paths and backends are shown in the NGINX/ALB examples (use them as a reference to translate into Traefik CRDs or annotations) (Ingress examples and 1.7+ update guidance in [Ingress 1.7+](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-helm), [Deploying > Ingress](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress)). If you can share which Traefik mode you use (Ingress, IngressRoute CRD, v2 annotations), I can help adapt the same two routes to that format.