Hi <@U04S8PLJWMT>, what are things to consider whi...
# ask-ai
y
Hi @kapa.ai, what are things to consider while upgrading from
0.54.157
to 2.0 ? Do I need to change anything on my values.yaml ?
k
When upgrading from version 0.54.157 to 2.0, you're essentially upgrading from Helm chart V1 to Helm chart V2, which involves significant changes to your
values.yaml
file. Here are the key things to consider: ## Approach to Upgrading According to the [upgrade documentation](https://docs.airbyte.com/platform/1.8/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file), Airbyte recommends: 1. Note all customizations in your V1
values.yaml
file 2. Start with a basic V2
values.yaml
to verify it works 3. Map your V1 settings to V2, transferring one set of configurations at a time 4. Don't test in production ## Key Changes to values.yaml ### 1. Key Naming Conventions - Change hyphenated V1 keys to camelCase in V2. For example: -
workload-launcher
→
workloadLauncher
-
airbyte-bootloader
→
airbyteBootloader
-
orchestrator
→
containerOrchestrator
### 2. Database Configuration The main change is:
global.database.database
→
global.database.name
### 3. Environment Variables Many environment variables previously set through
extraEnv
now have dedicated interfaces in V2. For example, as shown in the [migration guide](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file): V1 approach:
Copy code
yaml workload-launcher:   extraEnv:     - name: JOB_KUBE_NODE_SELECTORS       value: type=jobs
V2 approach:
Copy code
yaml global:   jobs:     kube:       nodeSelector:         type: jobs
### 4. Other Key Mappings According to the [documentation](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file), here are important changes: -
worker.extraEnvs[MAX_SYNC_WORKERS]
→
worker.maxSyncWorkers
-
worker.extraEnvs[MAX_CHECK_WORKERS]
→
worker.maxCheckWorkers
-
server.extraEnvs[HTTP_IDLE_TIMEOUT]
→
server.httpIdleTimeout
- Individual bucket env vars →
global.storage.bucket.log
,
global.storage.bucket.state
, etc. ## Upgrade Process To perform the upgrade, as outlined in the [upgrading guide](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte): 1. Check your current chart version:
helm list -n <NAMESPACE>
2. Review the [release notes](https://docs.airbyte.com/release_notes/) 3. Update your
values.yaml
file with the V2 syntax 4. Run the upgrade command:
Copy code
bash helm upgrade airbyte airbyte-v2/airbyte \ --namespace airbyte-v2 \ --values ./values.yaml \ --version 2.x.x
Note: The upgrade requires temporarily turning off Airbyte, and connectors you're actively using won't be automatically upgraded to avoid disrupting your work. I recommend reviewing the complete [Values.yaml reference](https://docs.airbyte.com/platform/1.8/deploying-airbyte/values) for the full V1 and V2 interfaces to ensure all your customizations are properly migrated.
y
@kapa.ai, is there a way to verify if values.yaml is as expected by airbyte before applying ?
k
A message from kapa.ai
Based on the knowledge sources provided, I don't find explicit information about a built-in Airbyte tool or command to validate your
values.yaml
file before applying it. However, there are some standard approaches you can use: ## Helm Validation Commands You can use standard Helm commands to validate your configuration: 1. Helm template - This renders your chart locally without installing it:
Copy code
bash helm template airbyte airbyte-v2/airbyte \   --namespace airbyte-v2 \   --values ./values.yaml \   --version 2.x.x
This will show you the Kubernetes manifests that would be generated and help catch syntax errors. 2. Helm lint - This checks your chart for issues:
Copy code
bash helm lint airbyte-v2/airbyte --values ./values.yaml
3. Dry run - This simulates an installation without actually deploying:
Copy code
bash helm install airbyte airbyte-v2/airbyte \   --namespace airbyte-v2 \   --values ./values.yaml \   --version 2.x.x \   --dry-run
## Recommended Approach According to the [upgrade documentation](https://docs.airbyte.com/platform/1.8/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file), Airbyte recommends: - Start with a basic V2
values.yaml
to verify that it works
before adding all your customizations - Transfer configurations one set at a time - Don't test in production This incremental approach helps you identify issues early in the migration process. The knowledge sources don't mention any Airbyte-specific validation tool beyond these standard Helm practices.