Skip to content

storiesbi/salt-formula-airflow

Repository files navigation

Airflow

The Airflow Platform is a tool for describing, executing, and monitoring workflows.

Sample pillars

Single airflows service

airflow:
  worker:
    enabled: true
  server:
    enabled: true
    backup: true
    debug: true
    auth:
      engine: password
      enabled: true
      user:
        test:
          username: test
          email: [email protected]
          password: test
    bind:
      address: localhost
      protocol: tcp
      port: 8000
    enabled: true
    worker: true
    secret_key: secret
    source:
      engine: git
      address: https://github.com/apache/incubator-airflow.git
      rev: master
    dag:
      dagbag:
        engine: git
        address: [email protected]:group/dags.git
        rev: master
    plugin:
      pack-one:
        engine: git
        address: [email protected]:group/dags.git
        rev: master
      pipplugin:
        engine: pip
    database:
      engine: postgres
      host: 127.0.0.1
      name: airflow_prd
      password: password
      user: airflow_prd
    broker:
      engine: redis
      host: 127.0.0.1
      port: 6379
      number: 10
    logging:
      engine: sentry
      dsn: dsn
      remote:
        enabled: true
        directory: s3://tmp/logs/prd
        connection_id: db01
        encrypt: false
    variable:
      my_var:
        name: my_var_name
        value: TOKEN
    connection:
      db01:
        name: db01
        host: localhost
        port: 1234
        user: username
        database: db_name
        password: password
        type: postgresql
        extra:
          token: secret

supervisor:
  server:
    service:
      airflow:
        name: airflow
        type: airflow
      airflow_scheduler:
        name: scheduler
        type: airflow
      airflow_worker:
        name: worker
        type: airflow

Read more

  • links