Airflow docker with Kubernetes support
100K+
I've basically automated a process that will run on your local machine. The process will:
For now, I'm not doing anything company specific, just running test workflows in airflow.
First, just clone the following git: https://github.com/dafrenchyman/docker-airflow.git
Go into the "kubernetes" folder and read the instructions at the top of the "install.sh" bash script to install docker and enable kubernetes on your mac. For your convenience, these are the instructions:
##############################################################
##############################################################
Once that is done, just run the "install.sh" bash script.
When it's done running, it'll probably still be setting stuff up, but you'll eventually be able to hit: http://localhost:8080/admin
To test out spawning kubernetes tasks, just turn on the "kubernetes_sample" DAG.
If you want to shut down airflow, just check out the functions being run at the end of the script and comment out the running lines and uncomment the "uninstall_airflow" function.
There's also a really handy "Factory Reset" option in docker that I've been using all the time to just nuke everything and start over.
Content type
Image
Digest
Size
478.8 MB
Last updated
over 7 years ago
docker pull dafrenchyman/docker-airflow