airflow-kustom/README.md

24 lines
767 B
Markdown
Raw Permalink Normal View History

2023-04-24 10:51:04 +02:00
# airflow-kustom
Airflow kustomization.
For now this repo uses helm chart with kustomize
## How to use
### What do you need ?
* kubernetes cluster (k3d, kind, the real thing)
* kustomize command (on your machine)
* kubectl command (on your machine)
### Step by step
* Clone this repository
* run this command :
- `kubectl kustomize --enable-helm ./airflow-kustom | kubectl apply -f -`
* to revert run this command :
- `kubectl kustomize --enable-helm ./airflow-kustom | kubectl delete -f -`
* Then you can "port-forward" any local port of your machine above 1024 to 8080 port of the service called airflow-webserver
- `kubectl port-forward svc/airflow-webserver 9090:8080`
* You are looking for the default user and password ... read the code it's their