Created
June 23, 2022 05:37
-
-
Save shousper/3d0a1cb83ad235276f59f8a95d4a4bba to your computer and use it in GitHub Desktop.
Failing Airflow chart release deployment with Pulumi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import '@pulumi/kubernetes'; | |
import { Namespace } from '@pulumi/kubernetes/core/v1'; | |
import { Release } from '@pulumi/kubernetes/helm/v3'; | |
const name = 'fail-airflow'; | |
const namespace = new Namespace(name, { metadata: { name } }); | |
new Release(name, { | |
name, | |
chart: 'airflow', | |
version: '1.6.0', | |
namespace: namespace.metadata.name, | |
repositoryOpts: { | |
repo: 'https://airflow.apache.org', | |
}, | |
maxHistory: 2, | |
// Without this, jobs aren't run & deployments can never start. | |
skipAwait: true, | |
// See: https://github.com/apache/airflow/blob/helm-chart/1.6.0/chart/values.yaml | |
values: { | |
executor: 'KubernetesExecutor', | |
postgresql: { | |
enabled: false, | |
}, | |
workers: { | |
replicas: 0, | |
}, | |
flower: { | |
enabled: false, | |
}, | |
redis: { | |
enabled: false, | |
}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment