Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure AIrflow to use CeleryExecutor by default #4539

Closed
4 tasks done
btylerburton opened this issue Nov 27, 2023 · 0 comments
Closed
4 tasks done

Configure AIrflow to use CeleryExecutor by default #4539

btylerburton opened this issue Nov 27, 2023 · 0 comments
Assignees

Comments

@btylerburton
Copy link
Contributor

User Story

In order to configure a more robust, distributed system, datagovteam wants to configure the Airflow instance in Cloud.gov to utilize the CeleryExecutor.

Related:

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN I run cf login -a api.fr.cloud.gov --sso and authenticate
    AND I run cf target -o gsa-datagov -s <development|staging|production>
    WHEN I run cf push airflow --vars-file my_vars_file --strategy rolling
    AND I visit the configuration at https://airflow-test.app.cloud.gov/configuration
    AND look up the core: execuctor setting
    THEN I will see it is using CeleryExecutor.

Background

This builds on our first CG implementation ticket by implementing a production ready system, with the capacity for true horizontal scaling.

The advantages of the CeleryExecutor over the LocalExecutor are that it allows for scaling across multiple application instances and is more fault tolerant.

Also, in contrast to the KubernetesExecutor it can live fully within the Cloud.gov ecosystem, which is beneficial for compliance purposes.

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

  • Configure a cloud.gov Elasticache Redis instance
  • Configure current manifest to use CeleryExecutor
  • Deploy the application onto cloud.gov and allow it to process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🗄 Closed
Development

No branches or pull requests

1 participant