Hello Everyone, I need to setup Airbyte in an air...
# replication-troubleshooting
j
Hello Everyone, I need to setup Airbyte in an airgapped environment, using Rancher as the K8S manager. --> I can helm install it, the app works alright --> what I can't do is setup any of the connectors. I have the source-* and destination-* images I'm interested into already available in a local, reachable registry, but looks like Airbyte is still looking for something on dockerhub and, therefore, breaking. is there any definitive guide for airgapped setups such as this one? thanks in advance!
k
Setting up Airbyte in an airgapped environment—especially with Rancher as your Kubernetes manager—requires more than just installing the platform. The main challenge, as you’ve found, is ensuring that all connector images are pulled from your local registry, not Docker Hub. Here’s what the official documentation and community experience say: ### 1. Platform Images You can configure Airbyte to pull all platform images from your local registry by setting the
global.image.registry
value in your
values.yaml
file for the Helm chart. This works for Airbyte’s core services (server, webapp, etc.):
Copy code
yaml global:   image:     registry: <your-local-registry>
If your registry requires authentication, you can also set up
imagePullSecrets
as described in the docs. After updating your
values.yaml
, upgrade your Helm release as usual. This ensures all Airbyte platform images are pulled from your local registry, not Docker Hub [Customizing your Deployment](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#customizing-your-deployment). ### 2. Connector Images This is the tricky part. By default, Airbyte tries to pull connector images (e.g.,
airbyte/source-postgres
) from Docker Hub, even if you set
global.image.registry
. The documentation and community reports confirm that, as of now, there is no official, built-in way to globally override the registry for connector images via Helm values or configuration alone. This is a known limitation and a common pain point for airgapped or restricted environments [Github Issue: Add registry prefix for all image tag references](https://github.com/airbytehq/airbyte/issues/21123). #### Workarounds - Manual Database Update: Some users have worked around this by directly updating the Airbyte database. You can prefix the
docker_repository
field in the
actor_definition_version
table with your local registry. For example:
Copy code
sql     UPDATE actor_definition_version     SET docker_repository = '<your-registry>/' || docker_repository;
You may want to add a trigger to enforce this for future updates. Note: This is not officially supported and may be overwritten by Airbyte updates or syncs [Github Issue: Add registry prefix for all image tag references](https://github.com/airbytehq/airbyte/issues/21123). - Custom Docker Connectors: Alternatively, you can add each connector as a "Custom Docker Connector" in the Airbyte UI, specifying the full image path in your local registry. This is tedious if you have many connectors, but it works reliably [Uploading Docker-based custom connectors](https://docs.airbyte.com/platform/operator-guides/using-custom-connectors#4-use-your-custom-docker-connector-in-airbyte). ### 3. Summary - Platform images: Use
global.image.registry
in your Helm values. - Connector images: No official global override; use manual DB updates or add each as a custom connector. - No official, comprehensive airgapped guide exists as of now, but the above steps reflect the current best practices and workarounds. If you need to automate the database update or custom connector registration, you’ll need to script it yourself until Airbyte provides a native solution. If you need more details on any of these steps, let me know!