<@U04S8PLJWMT> How to specify WORKLOAD_API_BEARER_...
# ask-ai
n
@kapa.ai How to specify WORKLOAD_API_BEARER_TOKEN env in values.yaml file for airbyte version 1.7.1 deployed using helm.
k
To specify the
WORKLOAD_API_BEARER_TOKEN
environment variable in your
values.yaml
file for Airbyte version 1.7.1 deployed using Helm, you should use the
extraEnv
configuration under the relevant service section. While the knowledge sources do not provide a direct example for version 1.7.1, the general approach is to add environment variables using
extraEnv
in your
values.yaml
override file. Here’s an example of how you might do this:
Copy code
yaml worker:   extraEnv:     - name: WORKLOAD_API_BEARER_TOKEN       value: "<your_token_here>"  workloadApiServer:   extraEnv:     - name: WORKLOAD_API_BEARER_TOKEN       value: "<your_token_here>"
You only need to provide the specific overrides in your
values.yaml
file, not the entire chart values. Place this file where it will be accessible during the Helm installation process. For more details on overriding values, see the [Airbyte 1.7 installation guide](https://docs.airbyte.com/platform/1.7/deploying-airbyte#3-create-a-valuesyaml-override-file)<source>https://docs.airbyte.com/platform/1.7/deploying-airbyte#3-create-a-valuesyaml-override-file</source>. If you need to set secrets, you may also need to preconfigure Kubernetes secrets as described in the documentation, but for environment variables like
WORKLOAD_API_BEARER_TOKEN
, the
extraEnv
approach is standard<source>https://docs.airbyte.com/platform/1.7/deploying-airbyte/creating-secrets</source>. Note: If you are using a different service name or structure in your chart, adjust the section accordingly. If you encounter issues with authentication between services, ensure the same token is set for all relevant deployments (worker, workload API server, and possibly server), as described in community troubleshooting steps.
n
@kapa.ai Let's say I have MAX_SYNC_WORKERS set to 5. And have the following configuration. When each job creates 3 pods does that mean each pod will request 4Gi and 1 CPU, or the requests memory and CPU shared among those pods.
Copy code
jobs:
    resources:
      limits:
        cpu: 2
        memory: "8Gi"
      requests:
        cpu: 1
        memory: "4Gi"
k
A message from kapa.ai
Sorry @Namuuna Baterdene, I'm currently experiencing some technical difficulties. Please try again in a few minutes. If this issue persists, please reach out to the administrators of this Slack workspace.
n
@kapa.ai Let's say I have MAX_SYNC_WORKERS set to 5. And have the following configuration. When each job creates 3 pods does that mean each pod will request 4Gi and 1 CPU, or the requests memory and CPU shared among those pods.
Copy code
jobs:
    resources:
      limits:
        cpu: 2
        memory: "8Gi"
      requests:
        cpu: 1
        memory: "4Gi"
k
A message from kapa.ai
Sorry @Namuuna Baterdene, I'm currently experiencing some technical difficulties. Please try again in a few minutes. If this issue persists, please reach out to the administrators of this Slack workspace.