Skip to main content

A package for deploying airflow to kubernetes with included monitoring (grafana and elasticsearch integration)

Project description

https://github.com/zbrookle/avionix_airflow/workflows/CI/badge.svg?branch=master

Why are there so many guides on how to set up Apache Airflow when the code could just be given to you?!

Welcome to Avionix Airflow, an out of the box solution to installing airflow on Kubernetes.

Currently supported platforms are Minikube and AWS EKS (managed nodegroups only), pull requests adding support for GKE and AKS are welcome.

Overview of Avionix Airflow Capabilities

Avionix airflow provides the following out of the box solutions for airflow

  1. Airflow Webserver and Scheduler with configured RBAC for the KubernetesExecutor

  2. Airflow metric collection (statsd -> telegraf -> elasticsearch)

  3. Airflow log collection (stdout -> filebeat -> elasticsearch)

  4. Metric and log visualization (elasticsearch & postgres -> grafana)

Installation

pip install avionix_airflow

Requirements

Configuration

Avionix airflow is configured by using Options objects, there are currently 4 different objects:

  1. AirflowOptions

  2. PostgresOptions

  3. MonitoringOptions

  4. CloudOptions (Specified using LocalOptions or AwsOptions)

  5. RedisOptions (Only for use with CeleryExecutor, *not recommended*)

These options are then passed into the function get_chart_builder, which can be used to retrieve an avionix chart builder object. For instruction on how to use the builder object, see avionix

FAQ

  • How do I change the grafana dashboard?
    • You can change the dashboard by setting the MonitoringOptions role to “Admin”

Documentation

Additional documentation can be found [here](https://avionix-airflow.readthedocs.io/en/latest/)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avionix_airflow-0.1.1.tar.gz (59.6 kB view details)

Uploaded Source

File details

Details for the file avionix_airflow-0.1.1.tar.gz.

File metadata

  • Download URL: avionix_airflow-0.1.1.tar.gz
  • Upload date:
  • Size: 59.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for avionix_airflow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c3623efa65a9675d9b5c5a488d458856359451dd85319a2924a3cbb43b34ac94
MD5 695e67929a2235e1e147c7c954362f27
BLAKE2b-256 742892023def867b2e7ca376193db5f4768b4c8aac3fe1c931c952946bc28913

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page