Conversation
Member
Author
|
Jenkins after refactoring CRD structure: 🟢 https://ci.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/airflow-operator-it-custom/100/ |
razvan
reviewed
Aug 22, 2023
Member
razvan
left a comment
There was a problem hiding this comment.
It works and it's ok but IMO:
ExecutorConfigvsAirflowConfig- the names are confusing don't reflect the intent.- Not sure if it's wise to introduce so much complication just because of the affinity issue of executors. But fortunately it's an implementation detail that we can hopefully change later without breaking the CRD.
Member
|
This is almost adding support for complete new product. |
Co-authored-by: Razvan-Daniel Mihai <[email protected]>
Co-authored-by: Razvan-Daniel Mihai <[email protected]>
Co-authored-by: Razvan-Daniel Mihai <[email protected]>
razvan
approved these changes
Aug 23, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements KubernetesExecutor.
Fixes #2.
Jenkins: 🟢 https://ci.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/airflow-operator-it-custom/99/
Implementation summary:
executorfield has been removed from the top-level cluster configworkersrole has been replaced with a complex enum specifying one of:celery: this contains the worker config/roles etc.kubernetes: this contains just the logging/resources of the config, plus env-overrides (has to be included as we don't have a role object)executor = kubernetes, a pod template is deployed as config map that airflow will use to spawn pods for the DAG tasksTests on Openshift:
Definition of Done Checklist