sp33dy
10/28/2025, 9:38 AMFailed to create pod ion-postgres-check-xxxxxxxxxxxxx
Operation: [patch] for kind: [Pod] with name: [ion-postgres-check-xxxxxxxxxxxxx] in namespace: [airbyte] failed
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
What could be the issue? I'm using service account for operating Airbyte in my Kubernetes and it has all needed permissions.
I'm using chart v2.kapa.ai
10/28/2025, 9:38 AMairbyte-admin), the workload-launcher may incorrectly try to use airbyte-admin as the service account when creating pods, even though you've specified a different service account in your values.yaml. Workaround: As mentioned in the issue, you can create an additional service account named airbyte-admin with the same role bindings as your current service account. This allows the workload-launcher to successfully start pods. ## 2. SSL/TLS Certificate Issue The "PKIX path building failed: unable to find valid certification path to requested target" error indicates an SSL/TLS certificate validation problem. This typically occurs when: - Your Kubernetes cluster uses self-signed certificates or an internal CA - The Java trust store in Airbyte's connector pods doesn't recognize the certificate authority This is a known issue discussed in [this forum post](https://discuss.airbyte.io/t/983) and [this GitHub issue](https://github.com/airbytehq/airbyte/issues/38537). ## Recommended Steps 1. First, verify your service account configuration matches what's expected in your Helm values 2. Check if you need to create the airbyte-admin service account as a workaround 3. If the certificate error persists, you may need to configure your Kubernetes cluster's certificate trust or investigate mounting custom trust stores into the connector pods Could you confirm which Airbyte version you're using and whether your service account is named something other than airbyte-admin?kapa.ai
10/28/2025, 9:41 AMkapa.ai
10/28/2025, 9:41 AMairbyte-admin), the workload-launcher may incorrectly try to use airbyte-admin as the service account when creating pods, even though you've specified a different service account in your values.yaml. Solution: The issue can be fixed by explicitly defining the ServiceAccount name via the global.jobs.kube.serviceAccountName Helm value, as mentioned in [the same issue](https://github.com/airbytehq/airbyte/issues/49938). Temporary Workaround: Create an additional service account named airbyte-admin with the same role bindings as your current service account. ## 2. SSL/TLS Certificate Issue The "PKIX path building failed: unable to find valid certification path to requested target" error indicates an SSL/TLS certificate validation problem. This typically occurs when: - Your Kubernetes cluster uses self-signed certificates or an internal CA - The Java trust store in Airbyte's connector pods doesn't recognize the certificate authority This is a known issue discussed in [this forum post](https://discuss.airbyte.io/t/983) and affects various connectors including [MongoDB](https://github.com/airbytehq/airbyte/issues/36781) and [Oracle](https://github.com/airbytehq/airbyte/issues/38537). ## Recommended Steps 1. First, add global.jobs.kube.serviceAccountName to your Helm values with your service account name 2. If that doesn't resolve it, try creating an airbyte-admin service account as a temporary workaround 3. If the certificate error persists after resolving the service account issue, you may need to configure custom trust stores for your connectors Could you confirm which exact Airbyte version you're using and the name of your service account?sp33dy
10/28/2025, 9:52 AMkapa.ai
10/28/2025, 9:52 AMkapa.ai
10/28/2025, 9:53 AMvalues.yaml correctly specifies the service account name under the appropriate configuration keys for chart v2 Unfortunately, the knowledge sources don't contain specific information about how to configure custom trust stores or certificate handling in Airbyte 2.0.x Helm chart v2. You may need to: - Check the [Airbyte documentation](https://docs.airbyte.com) for certificate configuration options in v2 - Open a GitHub issue if this appears to be a bug specific to chart v2 - Consult with your Kubernetes administrator about certificate trust configuration Could you share what type of Kubernetes cluster you're running (EKS, GKE, self-managed, etc.) and whether it uses custom certificates?sp33dy
10/28/2025, 9:58 AMkapa.ai
10/28/2025, 9:58 AMkapa.ai
10/28/2025, 9:58 AMworkload-launcher pod for more detailed error messages: bash kubectl logs -n airbyte deployment/airbyte-workload-launcher 2. Verify Kubernetes API server certificate - Check if your cluster uses self-signed or internal CA certificates 3. Check workload-launcher service account - Ensure the workload-launcher has the correct service account and RBAC permissions 4. Review Helm values - Verify your service account configuration in your Helm values, particularly for the workload-launcher component Unfortunately, the knowledge sources don't contain specific information about configuring certificate trust for the workload-launcher in Helm chart v2. This may require opening a GitHub issue or consulting the Airbyte documentation for certificate configuration options in your version. Can you share the logs from your workload-launcher pod?sp33dy
10/28/2025, 10:08 AMkapa.ai
10/28/2025, 10:09 AMkapa.ai
10/28/2025, 10:09 AMsp33dy
10/28/2025, 10:19 AMkapa.ai
10/28/2025, 10:20 AMkapa.ai
10/28/2025, 10:20 AMfailed to create typed patch object: .spec.imagePullSecrets: duplicate entries for key [name="seniorsacred"] This occurs when the same imagePullSecret is specified multiple times in the pod specification, causing the Kubernetes API to reject the pod creation with a 500 error. ## Another Possibility: Image Registry Prefix According to [this GitHub issue](https://github.com/airbytehq/airbyte/issues/21123), when using custom connectors or private registries, Airbyte may have issues with image references that don't include the registry prefix. The issue describes problems pulling connector images in Kubernetes environments with strict policies. ## Recommended Actions 1. Check your imagePullSecrets configuration in your Helm values - look for any duplicate entries 2. Verify your custom connector image reference - ensure it includes the full registry path (e.g., `docker.io/your-org/your-connector:tag`) 3. Review the workload-launcher logs more carefully - look for any messages about imagePullSecrets or image pull policies beyond just the PATCH error 4. Check if you have multiple places where imagePullSecrets might be configured (global values, connector-specific values, etc.) Can you share: - How you're specifying your custom connector image in the UI? - Whether you have any imagePullSecrets configured in your Helm values? - The complete error message from workload-launcher if there are any additional details beyond what you initially shared?sp33dy
10/28/2025, 10:25 AMkapa.ai
10/28/2025, 10:25 AMkapa.ai
10/28/2025, 10:25 AMFailed to create pod ion-postgres-check-xxxxxxxxxxxxx Operation: [patch] for kind: [Pod] with name: [...] in namespace: [airbyte] failed PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target The fact that this error occurs during the PATCH operation (not during image pull or pod startup) and happens consistently across different connector types (including custom ones) strongly suggests this is indeed an SSL/TLS issue with the Kubernetes API server communication. ## The Issue The workload-launcher is successfully creating the initial pod object, but when it tries to PATCH the pod (which is part of Airbyte's pod creation process using server-side apply), the Kubernetes client library fails to validate the API server's certificate. ## What's Happening According to [this GitHub issue](https://github.com/airbytehq/airbyte/issues/44443), the pod creation process involves a PATCH operation that can fail for various reasons. In your case, the PKIX error during the PATCH operation indicates the Java Kubernetes client in workload-launcher cannot establish a trusted SSL connection to your Kubernetes API server. ## Questions to Help Diagnose 1. What type of Kubernetes cluster are you running? (EKS, GKE, AKS, self-managed, etc.) 2. Does your cluster use custom or self-signed certificates? 3. Can you check if other Java-based applications in your cluster can successfully interact with the Kubernetes API? 4. Are there any network policies or service mesh configurations that might be interfering with the workload-launcher's API calls? Unfortunately, the knowledge sources don't contain specific configuration options for resolving certificate trust issues in the workload-launcher for Helm chart v2. This appears to be a gap that may require opening a GitHub issue with the Airbyte team.sp33dy
10/28/2025, 10:32 AMkapa.ai
10/28/2025, 10:32 AMkapa.ai
10/28/2025, 10:33 AMsp33dy
10/28/2025, 11:31 AMkapa.ai
10/28/2025, 11:31 AMkapa.ai
10/28/2025, 11:31 AMbash kubectl exec -n airbyte deployment/airbyte-workload-launcher -- curl -k https://kubernetes.default.svc 2. Verify there are no network policies blocking the workload-launcher: bash kubectl get networkpolicies -n airbyte 3. Check if you're using a service mesh (Istio, Linkerd, etc.): bash kubectl get pods -n airbyte -o jsonpath='{.items[*].spec.containers[*].name}' Look for sidecar containers like istio-proxy or linkerd-proxy 4. Review your EKS cluster's API server endpoint configuration - Is it public, private, or both? According to [this forum post](https://discuss.airbyte.io/t/2661), one user resolved a similar issue by stopping the use of Istio for Airbyte deployment. Can you check if you have Istio or another service mesh running in your cluster?sp33dy
10/28/2025, 11:35 AMairbyte-bootloader-container airbyte-cron airbyte-server-container airbyte-temporal airbyte-worker-container airbyte-workload-api-server-container airbyte-workload-launcher-containerkapa.ai
10/28/2025, 11:35 AMkapa.ai
10/28/2025, 11:35 AMbash TOKEN=$(openssl rand -hex 24) 2. Set the token on all relevant deployments: bash kubectl -n airbyte set env deployment/airbyte-workload-api-server WORKLOAD_API_AUTH_HEADER=Authorization WORKLOAD_API_BEARER_TOKEN=$TOKEN kubectl -n airbyte set env deployment/airbyte-worker WORKLOAD_API_AUTH_HEADER=Authorization WORKLOAD_API_BEARER_TOKEN=$TOKEN kubectl -n airbyte set env deployment/airbyte-server WORKLOAD_API_AUTH_HEADER=Authorization WORKLOAD_API_BEARER_TOKEN=$TOKEN 3. Restart the deployments: bash kubectl -n airbyte rollout restart deploy/airbyte-workload-api-server airbyte-worker airbyte-server 4. Wait for rollouts to complete: bash kubectl -n airbyte rollout status deployment airbyte-workload-api-server kubectl -n airbyte rollout status deployment airbyte-worker kubectl -n airbyte rollout status deployment airbyte-server ## Why This Happened This is a known issue with Helm chart deployments where the bearer tokens between components can become misaligned, causing authentication failures that manifest as various errors including the PKIX error you were seeing. Try this fix and let me know if it resolves your issue!sp33dy
10/28/2025, 12:22 PMkapa.ai
10/28/2025, 12:46 PMkapa.ai
10/28/2025, 12:47 PMbash kubectl exec -n airbyte deployment/airbyte-workload-launcher -- ls -la /var/run/secrets/kubernetes.io/serviceaccount/ 2. What service account is the workload-launcher using? bash kubectl get pod -n airbyte -l app.kubernetes.io/name=workload-launcher -o jsonpath='{.items[0].spec.serviceAccountName}' 3. Does that service account have the necessary RBAC permissions? bash kubectl get rolebindings,clusterrolebindings -n airbyte -o json | grep -i <service-account-name> ## Additional Diagnostic According to [this GitHub issue](https://github.com/airbytehq/airbyte/issues/39512), similar "Unauthorized" errors during pod creation can occur when the service account doesn't have proper permissions to PATCH pods. Can you share: - The output of the commands above? - Your complete Helm values configuration (with sensitive data redacted)? - The full stack trace from the workload-launcher logs if there's more detail than what you initially shared? This will help identify whether it's a service account configuration issue, RBAC permissions issue, or something else entirely.