Error connecting to Postgres DB on Airbyte EC2 installation

Summary

The user is facing an issue with connecting to a Postgres DB after following the quickstart instructions for installing Airbyte on EC2. The error message indicates an unauthorized status when trying to create a pod in Kubernetes.


Question

Hi - first time Airbyte user here. I’ve followed the instructions on quickstart page for installing on Ec2 (https://docs.airbyte.com/using-airbyte/getting-started/oss-quickstart?_gl=1*zn15cq*_gcl_au*MTQ5MTA1NjQ3MC4xNzIxMjM1NDcy) but my first Source connection is failing to connect to the postgres DB:

Internal message: io.airbyte.workload.launcher.pipeline.stages.model.StageError: io.airbyte.workload.launcher.pods.KubeClientException: Failed to create pod rce-postgres-check-16697a14-10f0-4bb4-a6d0-67c183837eab-0-ydybe

Further down the stack I see:

Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: PATCH at: https://10.96.0.1:443/api/v1/namespaces/airbyte-abctl/pods/rce-postgres-check-16697a14-10f0-4bb4-a6d0-67c183837eab-0-ydybe?fieldManager=fabric8. Message: Unauthorized. Received status: Status(apiVersion=v1, code=401, details=null, kind=Status, message=Unauthorized, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Unauthorized, status=Failure, additionalProperties={})

Anyone any ideas or help?



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["airbyte-ec2", "postgres-db", "kubernetes", "unauthorized-error"]