-
Install kubectl, if not installed already follow the instructions here [https://kubernetes.io/docs/tasks/tools/]
-
Configure kubectl:
- Configure
gcloud
withgcloud auth login
- Use the following command to configure kubectl:
gcloud container clusters get-credentials arbyt-int --region us-central1 --project utilization-forecast-test
- To view the context available:
kubectl config get-contexts
- To access the GKE cluster with kubectl, use the below command and replace
$GKE_CONTEXT
with the respective context from the list in step 3:kubectl config use-context $GKE_CONTEXT
- Configure
-
Deploying Airbyte in the GKE cluster:
- Install Helm, for macOS:
brew install helm
- Add remote helm repo to access helm-charts
helm repo add airbyte https://airbytehq.github.io/helm-charts
- To index Airbyte repo:
helm repo update
- Default Airbyte deployment if no customization is needed, replace
%release_name%
with a custom release name:helm install %release_name% airbyte/airbyte
- Accessing Airbyte application on localhost:
export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=webapp" -o jsonpath="{.items[0].metadata.name}") export CONTAINER_PORT=$(kubectl get pod --namespace default $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") echo "Visit http://127.0.0.1:8080 to use your application" kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT
Airbyte should be accessible at
http://127.0.0.1:8080
after executing the last command.- To check the pod status, run
kubectl get pods | grep airbyte
.
- Install Helm, for macOS:
-
Notifications
You must be signed in to change notification settings - Fork 0
Nuvalence/gcp-airbyte-setup
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published