コンテンツにスキップ

Airbyte セットアップ

Install abctl

参考:https://docs.airbyte.com/platform/using-airbyte/getting-started/oss-quickstart

curl -LsfS https://get.airbyte.com | bash -
1
2
3
4
5
6
7
8
9
Installing for Linux...
Downloading abctl from https://github.com/airbytehq/abctl/releases/download/v0.30.4/abctl-v0.30.4-linux-amd64.tar.gz
Installing 'release/abctl-v0.30.4-linux-amd64/abctl' to /usr/local/bin

abctl install succeeded. Run:

abctl --help

to get started! (You might need to sudo, depending on your docker setup)

Run Airbyte

abctl local install --host example.com --insecure-cookies
 INFO    Using Kubernetes provider:
           Provider: kind
           Kubeconfig: /root/.airbyte/abctl/abctl.kubeconfig
           Context: kind-airbyte-abctl
SUCCESS  Found Docker installation: version 29.4.0
 INFO    No existing cluster found, cluster 'airbyte-abctl' will be created
SUCCESS  Port 8000 appears to be available
SUCCESS  Cluster 'airbyte-abctl' created
 INFO    Patching image airbyte/db:1.7.0-17
 INFO    Pulling image airbyte/async-profiler:2.0.1
 INFO    Pulling image airbyte/bootloader:2.0.1
 INFO    Pulling image airbyte/connector-builder-server:2.0.1
 INFO    Pulling image airbyte/connector-sidecar:2.0.1
 INFO    Pulling image airbyte/container-orchestrator:2.0.1
 INFO    Pulling image airbyte/cron:2.0.1
 INFO    Pulling image airbyte/db:1.7.0-17
 INFO    Pulling image airbyte/server:2.0.1
 INFO    Pulling image airbyte/utils:2.0.1
 INFO    Pulling image airbyte/worker:2.0.1
 INFO    Pulling image airbyte/workload-api-server:2.0.1
 INFO    Pulling image airbyte/workload-init-container:2.0.1
 INFO    Pulling image airbyte/workload-launcher:2.0.1
 INFO    Pulling image temporalio/auto-setup:1.27.2
 INFO    Namespace 'airbyte-abctl' created
 INFO    Persistent volume 'airbyte-local-pv' created
 INFO    Persistent volume claim 'airbyte-storage-pvc' created
 INFO    Persistent volume 'airbyte-volume-db' created
 INFO    Persistent volume claim 'airbyte-volume-db-airbyte-db-0' created
 INFO    Starting Helm Chart installation of 'airbyte/airbyte' (version: 2.0.19)
SUCCESS  Installed Helm Chart airbyte/airbyte:
           Name: airbyte-abctl
           Namespace: airbyte-abctl
           Version: 2.0.19
           AppVersion: 2.0.1
           Release: 1
 INFO    Starting Helm Chart installation of 'nginx/ingress-nginx' (version: 4.15.1)
SUCCESS  Installed Helm Chart nginx/ingress-nginx:
           Name: ingress-nginx
           Namespace: ingress-nginx
           Version: 4.15.1
           AppVersion: 1.15.1
           Release: 1
 INFO    No existing Ingress found, creating one
SUCCESS  Ingress created
WARNING  Failed to launch web-browser.
         Please launch your web-browser to access http://localhost:8000
SUCCESS  Airbyte installation complete.
           A password may be required to login. The password can by found by running
           the command abctl local credentials

Set up authentication

abctl local credentials
 INFO    Using Kubernetes provider:
           Provider: kind
           Kubeconfig: /root/.airbyte/abctl/abctl.kubeconfig
           Context: kind-airbyte-abctl
SUCCESS  Retrieving your credentials from 'airbyte-auth-secrets'
 INFO    Credentials:
           Email: [not set]
           Password: zzPaQjAThtq5Ks5B1VM3MhKJAfap1DsQ
           Client-Id: ce07441a-59b1-4210-870e-c83cc65c0443
           Client-Secret: NJVGH14IkfwJMV652BtsGakgoDQctgVR