stackabletech / stackabletech/airflow-operator
Integrate DAG editor in Airflow
Nessuno ha ancora preso questa issue.
- Lingua principale
- Rust
- Stelle
- 32
- Fork
- 6
- Merge medio
- 1g 7h
- PR unite (30g)
- 13
Descrizione
Current Situation
We offer the customer to inject DAGs into airflow in two ways:
- Customers can mount a
configMapinto the Airflow pod and store theDAGsthere. - Customers can use GitSync to host
DAGsin an git repository.
Both ways need a way to interact either with kubernetes itself or with git.
Proposed Situation
Customers can log into Airflow and edit DAGs in the Airflow UI.
To archive this, we'd need to include an editor in airflow dockerimage and make it configurable through the operators CRD. I'd propose https://github.com/andreax79/airflow-code-editor as an candidate.
Advantage
Now where https://github.com/stackabletech/airflow-operator/pull/573 is merged, we offer deeply integrated Open Policy Agent support, which would lead to the advantage to offer role based editor access to data engineers or product owners. There wouldn't be a need to have knowledge of kuberentes or git to modify, develop and deploy DAGs. In my opinion this would increase usability and accessibility of Airflow and could empower the customer.
Additionally, it would make the development process of DAGs much easier as we would move from develop -> deploy -> test to develop -> test.
Evaluation
I expect this to be a rather large feature. We'd need to think about roles and how to configure those for editor access without OPA too. We need to be able to integrate with GitSync and implement access, provisioning and usage of PVCs to store DAGs written in the Airflow UI. Role based access may also apply to files stored in PVCs. We introduce at least another dependency we might need to maintain.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando la configurazione CRD dell’operator e le integrazioni esistenti di GitSync e Open Policy Agent menzionate nell’issue. Valuta come l’editor di codice Airflow si integrerebbe con l’immagine Docker, GitSync e l’archiviazione dei DAG basata su PVC. Il lavoro è completato quando sono disponibili un editor configurato con accesso basato sui ruoli e un percorso definito di provisioning e persistenza per i DAG creati tramite la UI.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, kubernetes
- Ambito
- authorization, devops, infrastructure
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100