hey <@U04S8PLJWMT> need help with this Airbyte Wo...
# ask-ai
t
hey @kapa.ai need help with this Airbyte Workload API Server Port Mismatch - Connection Refused on 8001 I'm running Airbyte in Kubernetes (local k3s) and seeing connection failures: Failed to connect to airbyte-workload-api-server-svc.airbyte/10.43.220.159:8001 Connection refused However, the workload-api-server pod starts successfully on port 8007: Server Running: http://airbyte-workload-api-server-57dd95d649-9d5wm:8007 The workload-launcher keeps trying to connect to port 8001 instead of 8007. Question: What configuration controls the workload-api-server port that the launcher connects to? Is this an environment variable, Kubernetes service definition, or Helm value I need to update? Environment: • Airbyte version: 2.0.0 • Deployment: Kubernetes (k3s) • Installation method: [Helm/kubectl/other?]
k
The port that the Airbyte Workload API Server listens on is controlled by both the Kubernetes service definition and the Helm chart values. By default, the workload-api-server runs on port 8007, not 8001. Key points: - The Kubernetes service for the workload-api-server should expose port 8007. - The Helm chart value for the workload-api-server service port is set under
airbyte-workload-api-server.service.port
. By default, this is 8007, as shown in the Helm chart configuration:
Copy code
yaml     service:       port: 8007
- If your workload-launcher or other components are trying to connect to port 8001, it likely means that either: - The environment variable or configuration pointing to the workload-api-server is set incorrectly (pointing to 8001 instead of 8007). - The service definition or Helm values are misconfigured. What to check and update: 1. Helm values: Ensure your
values.yaml
or Helm overrides set the correct port for the workload-api-server:
Copy code
yaml    airbyte-workload-api-server:      service:        port: 8007
This is the default, but if you have overridden it, make sure it matches. 2. Environment variables: Check for any environment variables like
WORKLOAD_API_HOST
in your deployment or pod specs. It should be set to something like:
Copy code
http://airbyte-workload-api-server-svc:8007
If it says
:8001
, update it to
:8007
. 3. Kubernetes Service: Verify the service definition for
airbyte-workload-api-server-svc
exposes port 8007. References: - The default port for the workload-api-server is 8007, as shown in the Helm chart configuration and service definition examples [see here](https://github.com/airbytehq/airbyte/issues/49843). - The error you’re seeing is consistent with a mismatch between the expected port (8007) and the configured port (8001) [see here](https://github.com/airbytehq/airbyte/issues/68136). Summary: Update your Helm values and any relevant environment variables to ensure all components reference port 8007 for the workload-api-server. This should resolve the connection refused error.
t
@kapa.ai please help Workload API Server Configuration Issues - Ports 8001/8007/8085 Confusion Environment: • Airbyte Version: 2.0.0 • Deployment: Kubernetes (k3d locally, GKE in staging) • Helm Repository: https://airbytehq.github.io/helm-charts • Available Chart Version: v1.9.1 (latest in public repo) • Desired Chart Version: v2.0.18 (referenced in documentation) Issues We're Experiencing Issue 1: Service Port Mismatch (8001 vs 8007) The workload-api-server pod starts successfully on port 8007: Server Running: http://airbyte-workload-api-server-67947f9bd-mlh4t:8007 But the Kubernetes service exposes port 8001 by default, causing workload-launcher to fail: Failed to connect to airbyte-workload-api-server-svc.airbyte:8001 Connection refused The WORKLOAD_API_HOST environment variable is set to: http://airbyte-workload-api-server-svc.airbyte:8001 Issue 2: Health Probe Port Mismatch (8085 vs 8007) In our local k3d environment, the pod crashes because readiness probes check the wrong port: Readiness probe failed: Get "http://10.42.2.15: The server is running on 8007, but probes are configured for 8085. Issue 3: Helm Chart Repository Confusion Documentation references Chart v2.0.18 at https://airbytehq.github.io/charts, but when we add the Helm repository: helm repo add airbyte https://airbytehq.github.io/helm-charts helm search repo airbyte/airbyte --versions We only see up to v1.9.1. Attempting to install v2.0.18 fails: Error: chart "airbyte" matching 2.0.18 not found in airbyte index Questions 1. What is the correct default service port for workload-api-server in Chart v2.x? • Should it be 8007? • Should this be configured automatically, or do we need to set it explicitly? 2. How do we access Helm Chart v2.0.18? • Are there two different Helm chart repositories? • Is v2.0.18 available publicly, or only for Airbyte Cloud/Enterprise? • What is the correct repository URL? 3. Why are health probes configured for port 8085 instead of 8007? • Is this a chart version-specific issue? • Does Chart v2.0.x fix this? • Do we need to manually override probe configurations? 4. Is workload-api-server optional for basic Airbyte functionality? • Can we run successful syncs without it? • What features/capabilities will we lose by disabling it? • Is it only required for specific scenarios (e.g., multi-region, scaling)? Our Current Workaround For Staging (when we can access v2.0.x): workload-api-server: enabled: true service: type: ClusterIP port: 8007 # Explicitly set the correct port For Local Development (v1.9.1 with probe issues): workload-api-server: enabled: false # Disabled due to probe configuration issues With workload-api-server disabled, all other core services run successfully: • ✅ airbyte-server (UI & API) • ✅ airbyte-worker • ✅ airbyte-temporal • ✅ airbyte-cron • ✅ airbyte-connector-builder-server Additional Context We successfully tested connectivity to the service on port 8007: curl -v http://airbyte-workload-api-server-svc.airbyte:8007/health # Successfully connects (404 response, but connection established) This confirms the server is running on 8007 and the service port configuration is the issue. Any guidance on: • Correct port configuration • Accessing Chart v2.0.x • Whether workload-api-server is required for our use case • Probe configuration fixes Would be greatly appreciated! Thanks in advance! 🙏
k
A message from kapa.ai
Certainly! Here’s a focused response to your questions, based strictly on the provided knowledge sources: --- ### 1. What is the correct default service port for workload-api-server in Chart v2.x? - Default Port: The default port for the workload-api-server is 8007. This is set in the Helm chart values under
service.port
. If you see a mismatch (e.g., service exposing 8001), you should explicitly set the port to 8007 in your `values.yaml`:
Copy code
yaml   airbyte-workload-api-server:     service:       port: 8007
- Automatic Configuration: The chart should configure this automatically, but if you encounter mismatches, set it explicitly as above. This is confirmed in the Helm chart configuration examples and user reports of similar issues [see here](https://github.com/airbytehq/airbyte/issues/49843). --- ### 2. How do we access Helm Chart v2.0.18? - Two Repositories: Yes, there are two different Helm chart repositories: - V1:
https://airbytehq.github.io/helm-charts
- V2:
https://airbytehq.github.io/charts
- Accessing v2.0.18: Chart v2.0.18 is available in the V2 repo. To access it, add the V2 repo:
Copy code
sh   helm repo add airbyte-v2 https://airbytehq.github.io/charts   helm repo update   helm search repo airbyte-v2/airbyte --versions
You will then see v2.0.18 and other V2 chart versions [see here](https://docs.airbyte.com/platform/next/deploying-airbyte#1-add-the-helm-repository). - Public Availability: Chart v2.x is publicly available and not limited to Airbyte Cloud/Enterprise [see here](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#deploy-airbyte). --- ### 3. Why are health probes configured for port 8085 instead of 8007? - Chart Version Issue: The mismatch in probe ports (8085 vs 8007) is a known issue in some chart versions. The correct port for probes should be 8007, matching the server port. - Chart v2.x Fixes: Chart v2.x aligns the service and probe ports to 8007. If you are using v1.9.1 or earlier, you may need to override the probe configuration manually. Upgrading to v2.x should resolve this [see here](https://github.com/airbytehq/airbyte/issues/49843). - Manual Override: If you must use v1.9.1, you can disable the probes or set them to the correct port in your `values.yaml`:
Copy code
yaml   airbyte-workload-api-server:     readinessProbe:       enabled: false     livenessProbe:       enabled: false
Or, if supported, set the probe port to 8007. --- ### 4. Is workload-api-server optional for basic Airbyte functionality? - Optional for Most Use Cases: Yes, the workload-api-server is optional for basic Airbyte functionality. Users have reported that disabling it does not affect core services like airbyte-server, airbyte-worker, airbyte-temporal, etc. [see here](https://github.com/airbytehq/airbyte/issues/68134). - When Required: It is primarily needed for advanced scenarios such as multi-region deployments or specific scaling requirements. For most standard, single-region deployments, you can run Airbyte successfully without it. --- ### Summary of Recommendations - Use Helm chart v2.x from
https://airbytehq.github.io/charts
for the latest fixes and correct port/probe configuration. - Set the workload-api-server port to 8007 in your values if you see mismatches. - Disable or correct health probes if you are forced to use v1.9.1. - You can safely disable workload-api-server for most basic Airbyte deployments. If you follow these steps, you should resolve the port and probe mismatches and have a stable deployment. --- If you need further details on any specific configuration, let me know!
t
@kapa.ai please help # GitHub Issue: Helm Chart 2.0.19 - workload-api-server enabled:false not respected Copy this content to: https://github.com/airbytehq/airbyte/issues/new --- ## Bug Description Helm chart 2.0.19 ignores
enabled: false
for
workload-api-server
and
workload-launcher
, causing these components to deploy with incorrect configuration leading to crash loops. ## Environment - Helm Chart:
airbytehq/airbyte
version
2.0.19
- Kubernetes: k3d v5.6.0 (Kubernetes 1.31) - Deployment: Helm install via Tilt ## Expected Behavior When setting these values:
Copy code
yaml
workload-api-server:
  enabled: false
  service:
    port: 8007

workload-launcher:
  enabled: false
Expected: No workload-api-server or workload-launcher resources should be created. ## Actual Behavior 1. Pods deploy despite
enabled: false
2. Service uses wrong port (8001 instead of configured 8007) 3. Probes check wrong port (8085 instead of 8007) 4. Result: Continuous crash loop (CrashLoopBackOff) ## Reproduction
Copy code
bash
_# helm-values.yaml_
cat > helm-values.yaml <<EOF
workload-api-server:
  enabled: false
  service:
    port: 8007
workload-launcher:
  enabled: false
EOF

_# Install_
helm install airbyte airbytehq/airbyte \
  --version 2.0.19 \
  --namespace airbyte \
  --create-namespace \
  --values helm-values.yaml

_# Observe issue_
kubectl get pods -n airbyte | grep workload
## Evidence
Copy code
bash
_# Helm values confirm disabled_
$ helm get values airbyte -n airbyte | grep -A 1 workload-api-server
workload-api-server:
  enabled: false

_# But pods exist and crash loop_
$ kubectl get pods -n airbyte | grep workload
airbyte-workload-api-server-xxx   0/1  CrashLoopBackOff  8
airbyte-workload-launcher-xxx     0/1  CrashLoopBackOff  8

_# Service on wrong port_
$ kubectl get svc -n airbyte | grep workload-api-server
airbyte-workload-api-server-svc   ClusterIP   10.43.232.113   8001/TCP
_# Should be 8007, not 8001_

_# Probes failing on wrong port_
$ kubectl get events -n airbyte | grep workload-api-server
Liveness probe failed: Get "http://10.42.3.7:8085/health/liveness":
dial tcp 10.42.3.7:8085: connect: connection refused
_# Pod actually runs on 8007, probes check 8085_
## Impact - ⚠️ Medium: Crash-looping pods waste resources and spam logs - ✅ Non-critical: Core Airbyte functionality works (workload components are optional) - 📊 Affects local development and potentially staging environments ## Current Workaround
Copy code
bash
_# Delete resources after Helm install_
kubectl delete deployment airbyte-workload-api-server -n airbyte
kubectl delete deployment airbyte-workload-launcher -n airbyte
kubectl delete svc airbyte-workload-api-server-svc -n airbyte
Or add to Tiltfile/deployment automation:
Copy code
python
local_resource(
    'cleanup-workload-components',
    _cmd_='kubectl delete deployment airbyte-workload-api-server -n airbyte --ignore-not-found=true && ...',
    _resource_deps_=['airbyte'],
)
## Questions 1. Is this a known issue? Will it be fixed in 2.0.20+? 2. Are workload-api-server and workload-launcher truly optional for basic syncs? 3. Is there a proper way to disable these components in the current chart? ## Additional Context This appears to be a regression or configuration bug in chart 2.0.19. Previous versions or different deployment methods may not have this issue. --- Thank you for maintaining Airbyte! 🙏
k
A message from kapa.ai
New message text here
t
@kapa.ai one more please Workload API Server Components Issues in Helm Chart 2.0.19 ## Summary When deploying Airbyte v2.0.19 via Helm chart to local Kubernetes (k3d), we're experiencing issues with the workload-api-server and workload-launcher components despite setting
enabled: false
in our values configuration. The components deploy anyway and enter CrashLoopBackOff due to port configuration mismatches. ## Environment Details - Airbyte Version: 2.0.19 (Helm Chart V2) - Helm Repository:
airbytehq/airbyte
(https://airbytehq.github.io/charts) - Kubernetes: k3d v5.x (local development) - Deployment Method: Helm chart with custom values - Edition: Community Edition ## Issues Discovered ### Issue 1:
enabled: false
Not Respected Configuration:
Copy code
yaml
_# helm-values-local.yaml_
workload-api-server:
  enabled: false  _#_ :x: _This is ignored by the Helm chart_

workload-launcher:
  enabled: false  _#_ :x: _This is also ignored_
Observed Behavior: Despite setting
enabled: false
, both components are deployed and create pods. Expected Behavior: When
enabled: false
, the components should not be deployed at all. ### Issue 2: Service Port Mismatch Configuration:
Copy code
yaml
workload-api-server:
  service:
    port: 8007  _#_ :x: _This configuration is ignored_
Observed Behavior: - Application starts on port 8007 (correct) - Service exposes port 8001 (wrong - conflicts with main server) - Readiness probe checks port 8085 (wrong - named "management" port) Evidence from Logs:
Copy code
2025-11-16 07:42:51,039 [main] INFO i.m.r.Micronaut(start):101 -
Startup completed in 2764ms. Server Running: http://airbyte-workload-api-server-586676655b-mzdwb:8007
Evidence from Deployment:
Copy code
yaml
_# Actual deployment configuration_
ports:
- containerPort: 8007
  name: http
  protocol: TCP
- containerPort: 8085
  name: management  _#_ :x: _Probe checks this port instead of 8007_
Evidence from Events:
Copy code
Warning  Unhealthy  pod/airbyte-workload-api-server-xxx
Liveness probe failed: Get "http://10.42.3.14:8085/health/liveness":
dial tcp 10.42.3.14:8085: connect: connection refused
### Issue 3: Probe Port Configuration Observed Behavior:
Copy code
yaml
readinessProbe:
  httpGet:
    path: /health/liveness
    port: management  _# Points to 8085 instead of 8007_
Result: Continuous liveness/readiness probe failures → CrashLoopBackOff ## Current Workaround We've implemented an automatic cleanup script in our Tiltfile that runs after Helm installation:
Copy code
python
local_resource(
    'airbyte-cleanup-workload-components',
    _cmd_='''
        # Wait for Helm deployment to complete
        for i in {1..10}; do
            if kubectl get deployment airbyte-server -n airbyte &>/dev/null; then
                break
            fi
            sleep 1
        done

        # Delete workload components
        kubectl delete deployment airbyte-workload-api-server -n airbyte --ignore-not-found=true
        kubectl delete deployment airbyte-workload-launcher -n airbyte --ignore-not-found=true
        kubectl delete svc airbyte-workload-api-server-svc -n airbyte --ignore-not-found=true
    ''',
    _resource_deps_=['airbyte'],
)
## Impact Assessment ### Non-Critical but Problematic: - ⚠️ Core Airbyte functionality works fine (server, worker, temporal are unaffected) - ⚠️ Error spam in logs every few seconds from cron service attempting to reach workload-api-server - ⚠️ Resource waste with 2 crash-looping pods - ⚠️ Confusion for developers during setup ### Working Components: - ✅ airbyte-server (port 8001) - ✅ airbyte-worker - ✅ airbyte-temporal - ✅ airbyte-cron - ✅ airbyte-connector-builder-server - ✅ airbyte-bootloader (completed successfully) - ✅ airbyte-minio ### Failing Components: - ❌ airbyte-workload-api-server (CrashLoopBackOff) - ❌ airbyte-workload-launcher (CrashLoopBackOff) ## Pod Status Example
Copy code
NAME                                                READY   STATUS             RESTARTS      AGE
airbyte-bootloader                                  0/1     Completed          0             10m
airbyte-connector-builder-server-58755d9785-mpl8d   1/1     Running            0             9m
airbyte-cron-5d686b4b4b-b2zh8                       1/1     Running            0             9m
airbyte-minio-0                                     1/1     Running            0             10m
airbyte-server-66b5987566-g5vqc                     1/1     Running            0             9m
airbyte-temporal-759dfdf875-kc9nf                   1/1     Running            0             9m
airbyte-worker-68d85487dc-gk95q                     1/1     Running            0             9m
airbyte-workload-api-server-586676655b-kwsb8        0/1     CrashLoopBackOff   3 (48s ago)   9m
airbyte-workload-launcher-68f75fb87-gc9q4           0/1     CrashLoopBackOff   3 (71s ago)   9m
## Questions for Community 1. Is this a known issue in Helm chart 2.0.19? Are there plans to fix this in an upcoming release? 2. Are workload-api-server and workload-launcher required for basic Airbyte functionality? We're successfully running syncs without them, but want to understand what features we might be missing. 3. What is the correct way to disable these components? Is there a different values configuration we should use? 4. What are the correct port configurations? Should these components be using: - Port 8007 for workload-api-server? - Should the service match the application port? - What should the probe ports be? 5. Is there a recommended upgrade path? Should we wait for Helm chart 2.0.20+ or is there a specific version that fixes these issues? ## Additional Context ### Full Helm Install Command
Copy code
bash
helm upgrade --install airbyte airbytehq/airbyte \
  --namespace airbyte \
  --create-namespace \
  --version=2.0.19 \
  --values=helm-values-local.yaml \
  --timeout=30m \
  --wait \
  --wait-for-jobs
### Workload API Server Logs (Partial)
Copy code
Unsetting empty environment variable 'AIRBYTE_CLUSTER_NAME'
Unsetting empty environment variable 'OTEL_COLLECTOR_ENDPOINT'

    ___    _      __          __
   /   |  (_)____/ /_  __  __/ /____
  / /| | / / ___/ __ \/ / / / __/ _ \
 / ___ |/ / /  / /_/ / /_/ / /_/  __/
/_/  |_/_/_/  /_.___/\__, /\__/\___/
                    /____/
        : airbyte-workload-api-server :
--------------------------------------------------
 Will soon be available at http://localhost:8007/
--------------------------------------------------

2025-11-16 07:42:51,039 [main] INFO i.m.r.Micronaut(start):101 -
Startup completed in 2764ms. Server Running: http://airbyte-workload-api-server-586676655b-mzdwb:8007
### Workload Launcher Logs (Partial)
Copy code
2025-11-16 07:43:43,941 [Thread-2] INFO i.a.w.l.ClaimedProcessor(getWorkloadList):91 -
requesting workload list: WorkloadListRequest(dataplane=[76fe84d6-ef97-411c-bbb5-5148c19b9f0c], status=[claimed], updatedBefore=null)

2025-11-16 07:43:46,247 [Thread-2] WARN i.a.w.a.c.WorkloadApiClient(createRetryPolicy$lambda$5):205 -
Retry attempt 1 of 5. Last response: null

2025-11-16 07:43:49,148 [Thread-2] WARN i.a.w.a.c.WorkloadApiClient(createRetryPolicy$lambda$5):205 -
Retry attempt 2 of 5. Last response: null
## Our Current Understanding Based on our investigation, we believe: 1. Workload components are optional for basic sync functionality 2. Helm chart has a bug where
enabled: false
is not respected 3. Port configurations are hardcoded incorrectly in the chart templates 4. Our workaround is stable but we'd prefer an official solution ## How We Can Help We're happy to: - Provide additional logs or debugging information - Test fixes in our local environment - Contribute a PR if guided on the right approach - Document the solution for other community members ## References - Helm Chart Repository: https://github.com/airbytehq/airbyte-platform/tree/main/charts/airbyte - Airbyte Documentation: https://docs.airbyte.com/deploying-airbyte/on-kubernetes-via-helm/ --- Thank you for your help! We appreciate all the work the Airbyte team does. This is a minor issue but would be great to have resolved in an upcoming release.
k
A message from kapa.ai
Certainly! Here are answers to your questions, strictly based on the provided knowledge sources: --- ### 1. Is this a known issue in Helm chart 2.0.19? Are there plans to fix this in an upcoming release? The knowledge sources confirm that users have experienced the issue where setting
enabled: false
for
workload-api-server
and
workload-launcher
in Helm chart v2.x does not prevent these components from being deployed. This is described as a regression or configuration bug, but there is no explicit statement in the sources about an official fix or a timeline for resolution in 2.0.20+ or later. The workaround currently is to manually delete the resources after installation, as you are doing. The issue is recognized by the community, but there is no confirmation of a fix in the next release from the sources provided [see here](https://github.com/airbytehq/airbyte/issues/68134). --- ### 2. Are workload-api-server and workload-launcher required for basic Airbyte functionality? No, these components are not required for basic Airbyte syncs. Multiple users have reported that disabling
workload-api-server
and
workload-launcher
does not affect core Airbyte services (server, worker, temporal, cron, etc.), and syncs work as expected. These components are mainly needed for advanced scenarios such as multi-region or specific scaling requirements [see here](https://github.com/airbytehq/airbyte/issues/68134). --- ### 3. What is the correct way to disable these components? Is there a different values configuration we should use? The intended way is to set
enabled: false
in your
values.yaml
for both components. However, as you and others have observed, this is not respected in chart 2.0.19. There is no alternative documented method in the knowledge sources. The only reliable workaround is to manually delete the deployments and services after installation [see here](https://github.com/airbytehq/airbyte/issues/68134). --- ### 4. What are the correct port configurations? - workload-api-server should use port 8007. This is the default application port, and the service should match this port. - The probes (liveness/readiness) should also target port 8007. The issue with probes targeting port 8085 is a known misconfiguration in some chart versions. - If you are seeing mismatches (e.g., service on 8001, probes on 8085), this is due to chart bugs or template issues in the current version. Chart v2.x is supposed to align these, but the sources confirm that manual overrides or disabling probes may be necessary in v1.x and v2.0.19 [see here](https://github.com/airbytehq/airbyte/issues/49843). --- ### 5. Is there a recommended upgrade path? Should we wait for Helm chart 2.0.20+ or is there a specific version that fixes these issues? The knowledge sources do not mention a specific version that fixes these issues, nor do they provide a recommended upgrade path beyond the current workaround. There is no confirmation that 2.0.20+ will resolve the
enabled: false
or port/probe configuration bugs. The best approach for now is to continue using your cleanup workaround and monitor future chart releases for a fix [see here](https://github.com/airbytehq/airbyte/issues/68134). --- Summary: - The issue with
enabled: false
not being respected is known but not officially resolved in the sources. - workload-api-server and workload-launcher are optional for basic syncs. - Manual cleanup is the only reliable way to disable these components in 2.0.19. - Correct port for workload-api-server is 8007; probes should match. - No documented fix or upgrade path is available in the knowledge sources at this time. If you need further clarification or if new information becomes available, feel free to ask!