It lets developer to run and test Apache Airflow workflows in a local Kubernetes cluster such as minikube. Add your workflows into dags and plugins folders.
- MacOS
- minikube
- Docker for Mac
- Brew
brew install xhyve
brew install docker-machine-driver-xhyve
sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
brew install kubectl
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
git clone https://github.com/mmuru/kube-centos-airflow.git
cd $HOME/kube-centos-airflow or change to checkout dir and perform the following steps
sudo sh script/init_logs_vol.sh
sh script/setup_airflow_workflows-dirs.sh
sh script/start-minikube-cluster
eval $(minikube docker-env)
sh script/build-airflow-image.sh
sh script/start-airflow-k8s-cluster.sh
sh script/stop-airflow-k8s-cluster.sh
sh script/stop-minikube-cluster.sh
minikube dashboard
open $(minikube service web --url)