Haithem (WOOP)
10/21/2024, 10:16 AMuser
10/21/2024, 10:16 AMJAVA_OPTS
for the orchestrator container that runs inside the replication job can be a bit tricky as the orchestrator container is launched at runtime and is not defined in the docker-compose.yaml
file. However, you can pass the JAVA_OPTS
environment variable through the container which launches the other containers - the worker
container. In the docker-compose.debug.yaml
file, you should see an entry for the worker
service which looks like this: yaml worker: environment: - DEBUG_CONTAINER_IMAGE=${DEBUG_CONTAINER_IMAGE} - DEBUG_CONTAINER_JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005
Here, DEBUG_CONTAINER_IMAGE
is the name of the container you're targeting (in your case, the orchestrator container), and DEBUG_CONTAINER_JAVA_OPTS
is the JAVA_OPTS
you want to set. You can pass these as environment variables to the docker compose
command like so: bash DEBUG_CONTAINER_IMAGE="orchestrator-container-name" DEBUG_CONTAINER_JAVA_OPTS="your-java-opts" VERSION="dev" docker compose -f docker-compose.yaml -f docker-compose.debug.yaml up
Please replace "orchestrator-container-name"
with the actual name of your orchestrator container and "your-java-opts"
with the JAVA_OPTS
you want to set. This will set the JAVA_TOOL_OPTIONS
environment variable in the orchestrator container to the value of `DEBUG_CONTAINER_JAVA_OPTS`[^1^]. Please note that this method is used for debugging purposes and might not be suitable for production environments. [^1^]: [Debugging Containers Launched by the Worker container](https://docs.airbyte.com/connector-development/debugging-docker#debugging-containers-launched-by-the-worker-container)Haithem (WOOP)
10/21/2024, 10:16 AMHaithem (WOOP)
10/21/2024, 10:17 AMuser
10/21/2024, 10:17 AMbash helm install %release_name% airbyte/airbyte
Remember that release_name
should only contain lowercase letters and optionally dashes, and it must start with a letter. For a custom deployment, you would have created a values.yaml
file in the local folder and populated it with default configuration override values. Then, you would have run the following command: bash helm install --values path/to/values.yaml %release_name% airbyte/airbyte
If you have any issues or further questions about your deployment, feel free to ask! Sources: - [Deploy Airbyte on Kubernetes using Helm](https://docs.airbyte.com/deploying-airbyte/on-kubernetes-via-helm#deploy-airbyte) - [Deploying Airbyte](https://docs.airbyte.com/deploying-airbyte/)Haithem (WOOP)
10/21/2024, 10:18 AMuser
10/21/2024, 10:18 AMuser
10/21/2024, 10:18 AM