<@U04S8PLJWMT> when using a kubernetes deplloyment...
# ask-ai
j
@kapa.ai when using a kubernetes deplloyment. How do I ensure that I am able to use the custom connector builder through the airbyte UI
k
To ensure you can use the Connector Builder (including custom components) through the Airbyte UI in a Kubernetes deployment, you need to: ### 1. Configure Ingress Correctly You must update your Kubernetes Ingress rules so that requests to the Connector Builder API are routed to the correct service. Specifically, traffic to
/api/v1/connector_builder
(or
/api/v1/connector_builder/
) should be routed to the
airbyte-airbyte-connector-builder-server-svc
service, not just the main webapp or server service. Here’s an example for NGINX:
Copy code
yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata:   name: airbyte-ingress   annotations:     nginx.ingress.kubernetes.io/ssl-redirect: "false" spec:   ingressClassName: nginx   rules:     - host: airbyte.example.com # replace with your host       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
This ensures the Connector Builder UI and API work as expected. If you misroute this path, you may see 404 or 403 errors in the UI. For more details and examples (including for AWS ALB), see the official docs and community troubleshooting tips [here](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-helm) and [here](https://github.com/airbytehq/airbyte/issues/63770). ### 2. Enable Custom Components (If Needed) If you want to use custom components in the Connector Builder, you must explicitly enable this (it is disabled by default for security reasons). Add the following to your
values.yaml
and redeploy with Helm:
Copy code
yaml workload-launcher:   extraEnv:     - name: AIRBYTE_ENABLE_UNSAFE_CODE       value: "true" connector-builder-server:   extraEnv:     - name: AIRBYTE_ENABLE_UNSAFE_CODE       value: "true"
Then upgrade your deployment:
Copy code
sh helm upgrade --install airbyte airbyte/airbyte -f values.yaml
Warning: This feature is considered unsafe and experimental, as it allows execution of arbitrary code in your Airbyte environment. Use with caution and monitor your deployment for security or performance issues. [More details here](https://docs.airbyte.com/platform/1.7/connector-development/connector-builder-ui/custom-components#how-to-enable-custom-components). ### 3. Avoid Low-Resource Mode If you installed Airbyte with
abctl
and enabled low-resource mode, the Connector Builder will be disabled. Make sure you allocate the suggested resources and do not use the
--low-resource-mode
flag if you want to use the Connector Builder UI [see details](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/overview). --- Summary: - Update your Ingress to route
/api/v1/connector_builder
to the correct service. - Enable custom components if needed by setting the appropriate environment variables. - Do not use low-resource mode if you want the Connector Builder. This setup will allow you to use the custom Connector Builder through the Airbyte UI in your Kubernetes deployment.