diff --git a/README.md b/README.md index a47b6a0..9f4b89c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,24 @@ # airflow-kustom -Airflow kustomization. - -For now this repo uses helm chart with kustomize \ No newline at end of file +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 \ No newline at end of file diff --git a/kustomization.yaml b/kustomization.yaml index 5b821ba..1aacdee 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -35,3 +35,8 @@ helmCharts: defaultUser: username: admin password: NotSoSecret + workers: + replicas: 3 + dags: + gitSync: + enabled: false