I tried installing with k3s directly on ec2 instan...
# ask-ai
s
I tried installing with k3s directly on ec2 instance with ubuntu. Its always showimg failed to reach remote directory.bootloader failed and i can only see three pods airbyte db airbyte miniio and airbyte bootloader.. i installed k3s and i installed using helm install command.. whats the problem and how can i resolve it
k
Based on the information in the knowledge sources, the issue you're experiencing—where the Airbyte bootloader pod fails and you only see the Airbyte DB, Minio, and Bootloader pods running on k3s installed on an EC2 Ubuntu instance—is a common one. Here are some key points and troubleshooting steps: ### Common Causes 1. Bootloader Fails to Connect to Database - The Airbyte bootloader is the first component to start and often fails if it cannot connect to the Airbyte DB service. This is a frequent root cause for installation failures, as documented in the official troubleshooting guides. Check the bootloader pod logs for errors related to database connectivity, such as "Failed to verify database connection" or similar messages. If the database pod is not ready or pending, the bootloader will not proceed successfully [Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy). 2. Persistent Volume Issues - On k3s (and Kubernetes in general), pods like Airbyte DB and Minio require persistent volumes. If your cluster is not set up with a storage class that can provision volumes, these pods may remain in a "Pending" state, causing the bootloader to fail as it cannot reach the database. Look for events like "waiting for a volume to be created" or "timed out waiting for the condition" in your pod or PVC events [Forum Post: Deploy failed with default values using helm to AWS EKS](https://discuss.airbyte.io/t/3825). 3. Network/Proxy Issues - In some cases, network restrictions or missing proxy settings on your EC2 instance can prevent the bootloader from reaching required remote resources. One user resolved a similar issue by setting up a system-wide proxy [Github Issue: bootloader pod hangs during installation](https://github.com/airbytehq/airbyte/issues/58086). ### Troubleshooting Steps 1. Check Pod and PVC Status - Run:
Copy code
kubectl get pods -n airbyte      kubectl get pvc -n airbyte      kubectl describe pod <airbyte-db-pod> -n airbyte      kubectl describe pvc -n airbyte
- Look for pods stuck in "Pending" or PVCs not bound to a volume. 2. Review Bootloader Logs - Run:
Copy code
kubectl logs <airbyte-bootloader-pod> -n airbyte
- Look for errors about database connectivity or network issues. 3. Ensure Storage Provisioner is Available - k3s usually comes with the local-path provisioner, but ensure it is running:
Copy code
kubectl get pods -A | grep local-path
- If not, install or enable a storage class. 4. Check Network/Proxy Settings - If your EC2 instance requires a proxy to access the internet, ensure the proxy is configured system-wide and for your Kubernetes environment. 5. Retry Installation - Some users have reported that repeated attempts eventually succeed, but this is not ideal. Addressing the underlying storage or network issue is recommended. ### Additional Notes - If you are using Helm, ensure you are using the correct install command and values file as per the [official documentation](https://docs.airbyte.com/platform/deploying-airbyte/). - If you see errors like "timed out waiting for the condition," it is often related to storage or resource provisioning issues [Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy). If you provide the output of
kubectl get pods -n airbyte
,
kubectl get pvc -n airbyte
, and the bootloader logs, more specific guidance can be given. --- Summary: Your issue is most likely due to either persistent volume provisioning problems or network/proxy configuration on your EC2 instance. Check the pod and PVC status, review the bootloader logs for database or network errors, and ensure your k3s cluster has a working storage class and network access [Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy), [Forum Post: Deploy failed with default values using helm to AWS EKS](https://discuss.airbyte.io/t/3825), [Github Issue: bootloader pod hangs during installation](https://github.com/airbytehq/airbyte/issues/58086).