feat(doc): adding more informations to the README
This commit is contained in:
parent
3bb9244220
commit
f1daabb948
19
README.md
19
README.md
|
@ -3,3 +3,22 @@
|
||||||
Airflow kustomization.
|
Airflow kustomization.
|
||||||
|
|
||||||
For now this repo uses helm chart with kustomize
|
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
|
|
@ -35,3 +35,8 @@ helmCharts:
|
||||||
defaultUser:
|
defaultUser:
|
||||||
username: admin
|
username: admin
|
||||||
password: NotSoSecret
|
password: NotSoSecret
|
||||||
|
workers:
|
||||||
|
replicas: 3
|
||||||
|
dags:
|
||||||
|
gitSync:
|
||||||
|
enabled: false
|
||||||
|
|
Loading…
Reference in New Issue