<@U04S8PLJWMT> please verify this values.yaml ```...
# ask-ai
m
@kapa.ai please verify this values.yaml
Copy code
workload-launcher:
  extraEnv:
    # Cap the *total* pool so jobs don't starve each other on a single-node kind cluster
    - name: AIRBYTE_WORKLOAD_API_GLOBAL_CPU_LIMIT
      value: "8"                  # total CPUs all jobs can use
    - name: AIRBYTE_WORKLOAD_API_GLOBAL_MEM_LIMIT
      value: "24Gi"
    - name: AIRBYTE_ENABLE_UNSAFE_CODE
      value: "true"
configs:
  jobKube:
    cpuRequest: "0.5"
    memoryRequest: "1Gi"
    cpuLimit: "2"
    memoryLimit: "4Gi"
connector-builder-server:
  extraEnv:
    - name: AIRBYTE_ENABLE_UNSAFE_CODE
      value: "true"
worker:
  extraEnv:
    - name: AIRBYTE_ENABLE_UNSAFE_CODE
      value: "true"
  resources:
    requests:
      cpu: "0.5"
      memory: "1Gi"
    limits:
      cpu: "2"
      memory: "3Gi"
server:
  extraEnv:
    - name: AIRBYTE_PUBLIC_API_ENABLED
      value: "true"
    # Lower retry thrash: surface failing infra quickly
    - name: MAX_SYNC_JOB_ATTEMPTS
      value: "4"
    - name: MAX_CHECK_JOB_ATTEMPTS
      value: "3"
    # Externalize logs to S3/GCS (pick one block below & fill secrets via k8s Secret)
    - name: LOGS_STORAGE_TYPE
      value: "S3"
    - name: S3_LOG_BUCKET
      value: "your-bucket-name"
    - name: S3_LOG_BUCKET_REGION
      value: "ap-south-1"
    # Optional path prefix in bucket
    - name: S3_LOG_BUCKET_PATH
      value: "airbyte/logs"
  resources:
    requests:
      cpu: "0.5"
      memory: "768Mi"
    limits:
      cpu: "1"
      memory: "1.5Gi"
  service:
    type: NodePort
    nodePort: 30081   # pick any free port in 30000-32767
webapp:
  extraEnv:
    - name: AIRBYTE_PUBLIC_API_ENABLED
      value: "true"
extraImages:
  - name: airbyte/source-declarative-manifest
    tag: 6.61.6
volume:
  workspace:
    size: 10Gi
  logs:
    size: 10Gi
  database:
    size: 8Gi
  temporal:
    size: 8Gi


#abctl local install --values values.yaml  --secret secret.yaml -v  --chart-version 1.7.3 --insecure-cookies --port 80
k
Your provided
values.yaml
file contains several configuration blocks for Airbyte, including environment variables, resource requests/limits, and service settings. Here’s a review based on the official Airbyte documentation: ### 1. Enabling Unsafe Code You have:
Copy code
yaml workload-launcher:   extraEnv:     - name: AIRBYTE_ENABLE_UNSAFE_CODE       value: "true" connector-builder-server:   extraEnv:     - name: AIRBYTE_ENABLE_UNSAFE_CODE       value: "true" worker:   extraEnv:     - name: AIRBYTE_ENABLE_UNSAFE_CODE       value: "true"
This is correct for enabling Custom Components, but note that this feature is UNSAFE and EXPERIMENTAL. It should be enabled only if you understand the risks. The documentation shows this pattern for both Helm chart V1 and V2, so your usage is valid for V1. For V2, the keys would be
workloadLauncher
and
connectorBuilderServer
instead of
workload-launcher
and
connector-builder-server
respectively. Make sure your chart version matches your key style [How to enable Custom Components](https://docs.airbyte.com/platform/1.7/connector-development/connector-builder-ui/custom-components#how-to-enable-custom-components). ### 2. Resource Limits and Requests You set resource requests and limits for
worker
,
server
, and in a
configs
block:
Copy code
yaml worker:   resources:     requests:       cpu: "0.5"       memory: "1Gi"     limits:       cpu: "2"       memory: "3Gi" server:   resources:     requests:       cpu: "0.5"       memory: "768Mi"     limits:       cpu: "1"       memory: "1.5Gi" configs:   jobKube:     cpuRequest: "0.5"     memoryRequest: "1Gi"     cpuLimit: "2"     memoryLimit: "4Gi"
This matches the documented approach for setting resource requirements. The
configs.jobKube
block is not explicitly documented in the official sources, but similar patterns are used for resource configuration. If you encounter issues, consider using the documented instance-wide or connector-specific resource configuration [Configuring Connector Resources](https://docs.airbyte.com/platform/1.7/operator-guides/configuring-connector-resources). ### 3. S3 Logging Configuration You set S3 log storage via environment variables:
Copy code
yaml server:   extraEnv:     - name: LOGS_STORAGE_TYPE       value: "S3"     - name: S3_LOG_BUCKET       value: "your-bucket-name"     - name: S3_LOG_BUCKET_REGION       value: "ap-south-1"     - name: S3_LOG_BUCKET_PATH       value: "airbyte/logs"
The recommended approach for external log storage is to use the
global.storage
block in
values.yaml
, not just environment variables. For example:
Copy code
yaml global:   storage:     type: "S3"     storageSecretName: airbyte-config-secrets     bucket:       log: airbyte-bucket       state: airbyte-bucket       workloadOutput: airbyte-bucket     s3:       region: "ap-south-1"       authenticationType: credentials
This disables the default Minio and configures S3 as the log storage backend [Configuring External Logging](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#configuring-external-logging). Using only environment variables may not fully configure Airbyte for external log storage. ### 4. Service and Port Configuration Your
server.service
block:
Copy code
yaml server:   service:     type: NodePort     nodePort: 30081
This is a standard Kubernetes service configuration and is valid. ### 5. Volume Configuration Your
volume
block:
Copy code
yaml volume:   workspace:     size: 10Gi   logs:     size: 10Gi   database:     size: 8Gi   temporal:     size: 8Gi
This matches the pattern for persistent volume configuration, though the documentation does not provide a detailed schema for this block. If you encounter issues, refer to the [values.yaml reference](https://docs.airbyte.com/platform/deploying-airbyte/values). ### 6. Extra Images
Copy code
yaml extraImages:   - name: airbyte/source-declarative-manifest     tag: 6.61.6
This is not explicitly documented in the official sources, so its effect may depend on your Airbyte version and Helm chart. --- ## Summary - Custom Components: Correctly enabled, but ensure you use the right key style for your Helm chart version. - Resource Limits: Generally correct, but
configs.jobKube
is not explicitly documented. - S3 Logging: Prefer the
global.storage
block over environment variables for full support. - Other Blocks: Appear reasonable, but some (like
extraImages
and
volume
) are not fully documented. If you are using Helm chart V1, your file is mostly correct, but for Helm chart V2, you should update key names (e.g.,
workloadLauncher
instead of
workload-launcher
).
For external logging, switch to the
global.storage
block for best results. If you need a fully validated file, please specify your Helm chart version and Airbyte version, as some keys differ between versions. --- If you need more details or a corrected example for a specific Helm chart version, let me know!