kapa.ai
10/13/2025, 9:05 PMspec.selector: Invalid value: ... field is immutable): This occurs when Helm tries to patch a Kubernetes Deployment and change the spec.selector field, which is not allowed once the Deployment has been created. This is a Kubernetes limitation. If you need to change the selector, you must delete the existing Deployment and let Helm recreate it. This issue is commonly encountered during upgrades or changes to the Helm chart that affect label selectors. To resolve this, you can manually delete the affected Deployments before running the install/upgrade command again. For example: sh kubectl delete deployment airbyte-abctl-connector-builder-server -n <namespace> kubectl delete deployment airbyte-abctl-cron -n <namespace> Replace <namespace> with the namespace where Airbyte is installed (often airbyte-abctl). 2. Failed to create patch: The order in patch list: This is a known issue with Airbyte's Helm chart and abctl, where the order of environment variables in the patch list does not match the expected $setElementOrder list. This can happen especially after running abctl local install and then abctl local install --low-resource-mode, or when upgrading between certain versions. The Airbyte team is aware of this and is working on a fix ([see docs](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list)). There is currently no official workaround except to wait for a fix, but some users have reported that a full uninstall and reinstall (removing all Airbyte resources and persistent volumes) can temporarily resolve the issue. Be aware this will delete your Airbyte data. Summary: - The immutable selector error requires deleting the affected Deployments before retrying. - The patch order error is a known bug and is being fixed by the Airbyte team. - If you need a temporary workaround, a full uninstall and reinstall may help, but will result in data loss. For more details, see the official troubleshooting documentation and related GitHub issues: [Airbyte Troubleshooting: Failed to Create Patch Order in Patch List](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list) [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129)Brandon Yano
10/13/2025, 9:06 PMkapa.ai
10/13/2025, 9:06 PMkubectl get namespaces This command will display all namespaces, including any you may have created for Airbyte (such as airbyte or airbyte-v2). While the knowledge sources provide commands for creating namespaces, they do not explicitly mention the command to list or get namespaces. However, based on the context of Kubernetes usage in the Airbyte documentation, this is the standard approach for retrieving namespaces in Kubernetes environments where Airbyte is deployed [Deploying Airbyte - Create a Namespace](https://docs.airbyte.com/platform/next/deploying-airbyte#2-create-a-namespace-for-airbyte). If you are looking for a specific namespace, you can use: kubectl get namespace <namespace-name> Replace <namespace-name> with the name you want to check.kapa.ai
10/13/2025, 9:08 PMkapa.ai
10/13/2025, 9:09 PMThe connection to the server localhost:8080 was refused - did you specify the right host or port? indicates that your kubectl command cannot connect to a running Kubernetes API server on your local machine. This is a common "connection refused" error and is documented in the Airbyte troubleshooting guides. It usually means that either your Kubernetes cluster is not running, or your kubectl configuration is not pointing to the correct cluster or context. The Airbyte documentation describes this error as: unable to initialize local command: error communicating with kubernetes: unable to fetch kubernetes server version: Get "https://127.0.0.1:50124/version": dial tcp 127.0.0.1:[PORT]: connect: connection refused [Common Errors - Connection Refused](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#connection-refused) What you should check: - Ensure your Kubernetes cluster is running (for example, if using kind, Docker Desktop, or minikube, make sure it is started). - Make sure your kubectl is configured to use the correct context and kubeconfig file. If you installed Airbyte with abctl, you may need to use a specific kubeconfig, such as: kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig get namespaces [Interacting with Airbyte's Kubernetes cluster](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#faq) If you are still seeing this error after verifying the above, your Kubernetes cluster may not be running or accessible, and you will need to start or troubleshoot your cluster before running further kubectl commands.Brandon Yano
10/13/2025, 9:22 PMkapa.ai
10/13/2025, 9:22 PMkapa.ai
10/13/2025, 9:23 PMunable to install airbyte chart: unable to install helm: failed to create patch: The order in patch list: ... is a known issue when installing or upgrading Airbyte using abctl local install. This error is related to the order of environment variables in the Kubernetes deployment patch not matching the expected $setElementOrder list. It often appears after running abctl local install and then running it again with different flags (such as --low-resource-mode), or when upgrading an existing deployment. The root cause is a mismatch in the order or duplication of environment variables in the Helm chart patch process. Current Status: This is a recognized bug and is being tracked by the Airbyte team ([GitHub #114](https://github.com/airbytehq/abctl/pull/114)). The documentation states that the issue is "Fixing" and does not currently provide a user-side workaround other than being aware of the cause and status. There is no confirmed fix or reliable workaround in the knowledge sources at this time. References: - [Airbyte Troubleshooting Docs: Failed to Create Patch Order in Patch List](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list) - Multiple user reports and confirmations of the same error in GitHub issues, with no definitive user-side solution yet available. What you can try (based on user reports): - Some users have reported that uninstalling Airbyte and reinstalling from scratch can temporarily resolve the issue, but it may reappear if you change install flags or upgrade again. - Downgrading to a previous chart version (e.g., abctl local install --chart-version=1.7.2) has worked for some users, but this is not guaranteed and may not be suitable for all environments. Summary: This is a known bug with no official fix or workaround yet. The Airbyte team is aware and working on a solution. If you need a temporary workaround, you may try a full uninstall and reinstall, or downgrade the chart version, but these are not guaranteed fixes and may not be suitable for production environments. Please monitor the linked GitHub issue and Airbyte documentation for updates. If you need more details or want to follow progress, see the [Airbyte troubleshooting documentation](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list).Brandon Yano
10/13/2025, 9:57 PMkapa.ai
10/13/2025, 9:57 PMkapa.ai
10/13/2025, 9:58 PMService "airbyte-abctl-workload-api-server-svc" is invalid: spec.ports[1].name: Duplicate value: "http" cannot patch "airbyte-abctl-connector-builder-server" with kind Deployment: ... env[30].valueFrom: Invalid value: "": may not have more than one field specified at a time cannot patch "airbyte-abctl-cron" with kind Deployment: ... env[40].valueFrom: Invalid value: "": may not have more than one field specified at a time are not directly addressed in the provided knowledge sources. However, these errors are consistent with a broader class of Helm chart patching and environment variable ordering issues that are known and currently being tracked by the Airbyte team. Specifically: - Duplicate port name: This is a Kubernetes validation error, and it can occur if the Helm chart or values file results in two ports with the same name in a Service definition. - Invalid valueFrom in env: This error means that an environment variable in a container spec is incorrectly defined, with more than one source (e.g., both value and valueFrom), which is not allowed. The knowledge sources confirm that similar patching and environment variable issues are known and unresolved, with users reporting failures during Helm upgrades or installs due to mismatches or duplications in environment variable definitions and resource specs. The Airbyte team is aware and working on fixes, but there is no documented user-side solution or workaround for these specific errors at this time. Some users have tried uninstalling and reinstalling or downgrading chart versions, but these are not guaranteed solutions and may not resolve all cases [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129), [abctl local install fails: Helm patch Deployment error due to env var order mismatch ($setElementOrder)](https://github.com/airbytehq/airbyte/issues/60918). Summary: I'm sorry, but the knowledge sources do not contain a confirmed solution or workaround for these specific errors. These issues are part of a broader set of Helm chart and environment variable patching problems that are under investigation by the Airbyte team. Please monitor the relevant GitHub issues and Airbyte documentation for updates.