Timothy Gaunt
07/12/2025, 7:49 PMkapa.ai
07/12/2025, 7:50 PMbash sudo yum install -y yum-utils sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum install docker-ce docker-ce-cli containerd.io sudo systemctl start docker sudo systemctl enable docker Install Docker Compose: bash sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose --- ## 3. Install Airbyte (Docker Compose Method) Clone the Airbyte repository and start Airbyte using Docker Compose: bash git clone https://github.com/airbytehq/airbyte.git cd airbyte docker-compose up This will start Airbyte and make the UI available at [http://localhost:8000](http://localhost:8000) on your VM. You can access this via a browser if you have the appropriate firewall rules or via SSH port forwarding. > Note: The default username and password for the Airbyte UI are airbyte and password respectively. Be sure to change these after installation for security reasons [source](https://airbyte.com/tutorials/orchestrate-data-ingestion-and-transformation-pipelines#step-2). --- ## 4. Configure PostgreSQL as Airbyte’s Destination Since PostgreSQL is already installed on your VM, you can use it as a destination for Airbyte syncs. When setting up a destination in the Airbyte UI: - Host: localhost - Port: (default is 5432) - Database: (your database name) - Username: (your PostgreSQL user) - Password: (your PostgreSQL password) You can quickly test your PostgreSQL instance by running: bash psql -U <your_user> -d <your_database> -c "\dt" --- ## 5. (Optional) Kubernetes Installation If you prefer to use Kubernetes, you can deploy Airbyte using Helm. This is more advanced and typically used for production or multi-node setups. - Add the Airbyte Helm repository: bash helm repo add airbyte https://airbytehq.github.io/helm-charts helm repo update - Create a namespace (optional but recommended): bash kubectl create namespace airbyte - Install Airbyte with Helm: bash helm install \ airbyte \ airbyte/airbyte \ --namespace airbyte \ --values ./values.yaml You can further configure Airbyte to use your external PostgreSQL instance by editing the values.yaml file as shown in the knowledge sources [source](https://docs.airbyte.com/platform/1.6/enterprise-setup/implementation-guide#configuring-the-airbyte-database). --- ## 6. Next Steps - Access the Airbyte UI at [http://localhost:8000](http://localhost:8000). - Set up your sources and destinations using the UI. - For production, secure your Airbyte instance and database credentials. --- If you need more specific instructions for advanced configurations (e.g., using Airbyte with Kubernetes and an external Postgres database), refer to the [official documentation](https://docs.airbyte.com/platform/1.6/enterprise-setup/implementation-guide#configuring-the-airbyte-database). --- Note: The knowledge sources do not provide Red Hat-specific installation commands for Docker or Airbyte, but the general Docker-based installation is supported and recommended for local or single-VM setups. If you need to use Kubernetes, follow the Helm-based instructions above. --- References integrated as per instructions.Timothy Gaunt
07/12/2025, 8:00 PMTimothy Gaunt
07/12/2025, 8:02 PMkapa.ai
07/12/2025, 8:02 PMkapa.ai
07/12/2025, 8:02 PMsudo or as root where appropriate. These steps are based strictly on the available knowledge sources. --- ## 1. Prerequisites - Red Hat VM on GCP: Ensure your VM is running and you have root or sudo access. - PostgreSQL Installed: PostgreSQL should already be installed on the same VM. - Kubernetes Cluster: You must have a running Kubernetes cluster on your VM. (The documentation recommends Docker Desktop with Kubernetes, kind, k3s, or colima for local clusters, but you can use any Kubernetes setup) [Deploying Airbyte](https://docs.airbyte.com/platform/deploying-airbyte). - Helm Installed: Install the [Helm client](https://helm.sh/docs/intro/install/) as root or with sudo. --- ## 2. Install Helm (as root/sudo) bash sudo curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash --- ## 3. Add the Airbyte Helm Repository bash sudo helm repo add airbyte https://airbytehq.github.io/helm-charts sudo helm repo update You can verify the charts are available: bash sudo helm search repo airbyte [Installation Guide](https://docs.airbyte.com/platform/deploying-airbyte#installation-guide) --- ## 4. Create a Namespace for Airbyte bash sudo kubectl create namespace airbyte [Installation Guide](https://docs.airbyte.com/platform/deploying-airbyte#installation-guide) --- ## 5. Prepare Your values.yaml File Create a values.yaml file (as root or with sudo) to configure Airbyte. For a basic installation, you can start with an empty or minimal file. If you want to use your existing PostgreSQL as Airbyte's database, you will need to customize the database settings in values.yaml. The knowledge sources do not provide the exact keys for external database configuration, but you can refer to the [Helm Chart Usage Guide](https://airbytehq.github.io/helm-charts/) for more details. --- ## 6. Install Airbyte Using Helm Run the following command as root or with sudo: bash sudo helm install \ airbyte \ airbyte/airbyte \ --namespace airbyte \ --values ./values.yaml [Installation Guide](https://docs.airbyte.com/platform/deploying-airbyte#5-installing-airbyte) --- ## 7. Post-Installation - After installation, configure your [Ingress](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress) if needed. - Access the Airbyte UI as per your ingress or service configuration. --- Note: - The knowledge sources do not provide Red Hat-specific or root-specific instructions for Kubernetes or Helm, but all commands above are run with sudo to ensure system-wide installation and avoid user profile issues. - For advanced configuration (such as using an external PostgreSQL database), refer to the [Helm Chart Usage Guide](https://airbytehq.github.io/helm-charts/) and the [official documentation](https://docs.airbyte.com/platform/deploying-airbyte). --- If you need more details on configuring Airbyte to use your external PostgreSQL, the knowledge sources do not provide the exact values.yaml keys, so please consult the Helm chart documentation linked above.Timothy Gaunt
07/12/2025, 9:20 PMkapa.ai
07/12/2025, 9:20 PMkapa.ai
07/12/2025, 9:20 PMvalues.yaml file for your Airbyte Helm deployment, follow these steps: 1. Create an empty file named values.yaml in your working directory. You can do this with the following command: bash sudo touch values.yaml 2. Add configuration overrides as needed. The documentation recommends that you only need to provide the specific overrides you want to change; you do not need to copy the entire chart’s values.yaml. For example, to set the public URL for your Airbyte instance: yaml global: airbyteUrl: https://airbyte.company.example [See example](https://docs.airbyte.com/platform/deploying-airbyte#3-create-a-valuesyaml-override-file) 3. For more advanced configurations (such as using an external PostgreSQL database), you can add the relevant sections. For example: yaml postgresql: enabled: false global: database: type: external secretName: airbyte-config-secrets host: localhost port: "5432" database: airbyte userSecretKey: database-user passwordSecretKey: database-password The database password must be set in a Kubernetes secret as described in the documentation. [See example](https://docs.airbyte.com/platform/deploying-airbyte/integrations/database) 4. You can find a thorough example values.yaml with many configuration options in the [charts/airbyte/values.yaml](https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte/values.yaml) file in the Airbyte repository. [See reference](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#customizing-your-deployment) Summary: - Create values.yaml with only the overrides you need. - Add or modify sections as required for your deployment. - Refer to the official chart’s values.yaml for all possible options. If you need to override specific integrations or features, consult the relevant section in the documentation for the correct keys and example values.Timothy Gaunt
07/12/2025, 9:29 PMkapa.ai
07/12/2025, 9:29 PMkapa.ai
07/12/2025, 9:29 PMvalues.yaml example for deploying Airbyte with Helm, configured to use a PostgreSQL database installed on the same machine (localhost): yaml postgresql: enabled: false global: database: type: external secretName: airbyte-config-secrets host: localhost port: "5432" database: airbyte userSecretKey: database-user passwordSecretKey: database-password Notes: - You must also create a Kubernetes secret named airbyte-config-secrets containing the database username and password, as shown below: yaml apiVersion: v1 kind: Secret metadata: name: airbyte-config-secrets type: Opaque stringData: database-user: airbyte database-password: your_password - Replace airbyte and your_password with your actual PostgreSQL username and password. - This configuration disables the internal PostgreSQL and points Airbyte to use your local PostgreSQL instance via localhost as the host. This setup is directly supported and recommended in the Airbyte documentation for external database integration using Helm deployments [Deploying Airbyte: External Database](https://docs.airbyte.com/platform/deploying-airbyte/integrations/database).Timothy Gaunt
07/12/2025, 9:31 PMkapa.ai
07/12/2025, 9:31 PMkapa.ai
07/12/2025, 9:31 PMairbyte, and a user/password created). - kubectl and helm installed and configured to use your cluster. - Sudo/root access for all commands. --- ## 2. Create the Kubernetes Namespace bash sudo kubectl create namespace airbyte [Installation Guide](https://docs.airbyte.com/platform/deploying-airbyte#installation-guide) --- ## 3. Create the Kubernetes Secret for Database Credentials Create a file named airbyte-db-secret.yaml with the following content (replace values as needed): yaml apiVersion: v1 kind: Secret metadata: name: airbyte-config-secrets namespace: airbyte type: Opaque stringData: database-user: airbyte database-password: your_password Apply the secret: bash sudo kubectl apply -f airbyte-db-secret.yaml [External Database Integration](https://docs.airbyte.com/platform/deploying-airbyte/integrations/database) --- ## 4. Create a Minimal values.yaml File Create a file named values.yaml with the following content: yaml postgresql: enabled: false global: database: type: external secretName: airbyte-config-secrets host: localhost port: "5432" database: airbyte userSecretKey: database-user passwordSecretKey: database-password [External Database Integration](https://docs.airbyte.com/platform/deploying-airbyte/integrations/database) --- ## 5. Add the Airbyte Helm Repository bash sudo helm repo add airbyte https://airbytehq.github.io/helm-charts sudo helm repo update [Installation Guide](https://docs.airbyte.com/platform/deploying-airbyte#installation-guide) --- ## 6. Install Airbyte Using Helm bash sudo helm install airbyte airbyte/airbyte --namespace airbyte --values values.yaml [Installation Guide](https://docs.airbyte.com/platform/deploying-airbyte#installation-guide) --- ## 7. Access the Airbyte UI - Expose the Airbyte webapp service as needed (e.g., via kubectl port-forward or by configuring an ingress). - The UI will be available on the port you expose. --- Summary: You create a namespace, a Kubernetes secret with your database credentials, a minimal values.yaml to point Airbyte to your local PostgreSQL, add the Helm repo, and install Airbyte with Helm. All steps and configuration keys are directly supported by the official documentation. If you need to expose the UI, follow standard Kubernetes practices for service exposure. If you need more advanced configuration (e.g., ingress, TLS), refer to the [official documentation](https://docs.airbyte.com/platform/deploying-airbyte#installation-guide).Timothy Gaunt
07/12/2025, 9:56 PMkapa.ai
07/12/2025, 9:56 PMkapa.ai
07/12/2025, 9:56 PMError: INSTALLATION FAILED: failed pre-install: warning: Hook pre-install airbyte/charts/airbyte-bootloader/templates/pod.yaml failed: 1 error occurred: * Pod "airbyte-airbyte-bootloader" is invalid: spec.containers[0].env[19].valueFrom.secretKeyRef.key: Invalid value: "oQsbKmIriEOabZPYWnTE25!": a valid config key must consist of alphanumeric characters, '-', '_' or '.' (e.g. 'key.name', or 'KEY_NAME', or 'key-name', regex used for validation is '[-._a-zA-Z0-9]+') means that the key you used in your Kubernetes Secret (the part before the colon in stringData:) contains invalid characters. Kubernetes Secret keys must only use alphanumeric characters, -, _, or .. Special characters like ! are not allowed. For example, this is invalid: yaml stringData: oQsbKmIriEOabZPYWnTE25!: mypassword This is valid: yaml stringData: database-password: mypassword How to fix: - Edit your secret YAML file and ensure all keys under stringData: use only allowed characters. - Re-apply the corrected secret, then retry your Helm install. This requirement is enforced by Kubernetes and is referenced in the error message itself. The knowledge sources confirm that Airbyte expects secret keys like database-user and database-password for database credentials, which follow the allowed pattern [see example](https://github.com/airbytehq/airbyte/issues/48854). If you follow the example secret structure from the knowledge sources, you should not encounter this error.Timothy Gaunt
07/12/2025, 10:09 PMkapa.ai
07/12/2025, 10:09 PMkapa.ai
07/12/2025, 10:09 PMError: INSTALLATION FAILED: failed pre-install: 1 error occurred: * timed out waiting for the condition is a common issue when installing Airbyte with Helm. According to the knowledge sources, this error typically means that one or more pods required for the installation did not become ready within the expected time. The most frequent cause is the bootloader pod or a database pod failing to start or become healthy. Troubleshooting steps: 1. Check Pod Statuses Run: bash kubectl get pods -n airbyte Look for pods that are stuck in Pending, Error, or CrashLoopBackOff states. 2. Check Bootloader Logs The Airbyte bootloader is often the first pod to start and a common source of issues. To get its logs: bash kubectl logs -n airbyte <bootloader-pod-name> Replace <bootloader-pod-name> with the actual pod name (e.g., airbyte-airbyte-bootloader). 3. Check Events Run: bash kubectl -n airbyte get events --sort-by='{.lastTimestamp}' This can reveal issues such as volume binding problems, image pull errors, or resource constraints. 4. Common Causes (from knowledge sources): - The bootloader cannot connect to the Airbyte database service (e.g., Postgres not ready or misconfigured) [Troubleshooting abctl](https://docs.airbyte.com/platform/1.6/deploying-airbyte/troubleshoot-deploy). - PersistentVolumeClaims are not being bound, especially on cloud providers like EKS, due to missing or misconfigured storage classes [Deploy EKS - failed pre-install](https://discuss.airbyte.io/t/3127). - Network or proxy issues preventing image pulls or service communication [abctl install stuck on nginx/ingress-nginx](https://github.com/airbytehq/airbyte/issues/56386). 5. Next Steps - Review the logs and events for specific errors. - Ensure your external Postgres is running, accessible from the cluster, and the Kubernetes secret is correctly configured. - If using cloud storage, verify your storage class and volume provisioning. If you provide the output of the pod statuses and bootloader logs, I can help you further diagnose the specific cause. This error is generic, and the exact reason will be in the pod logs or events as described above.