stackabletech / stackabletech/issues

Spike operator refactoring to remove product-config cruft, using the hello-world operator

Aperta
#490 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Nessun dato sulla lingua
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

As a dev, the way config settings are piped through from the CRD into the final k8s objects is confusing and error prone, and often a hindrance to quicker feature development. We would like to try and remove all of it, and spike this on the hello world operator since it is small and so it's easier to try out.

The refactoring should also consider dropping or replacing certain parts of the framework that are involved in the property handling.

Whoever implements this can decide whether to refactor the existing codebase or start from a blank slate, copying in code pieces as necessary.

This ticket is just about spiking the refactoring, we can still decide not to go through with it if the changes are too large.

Acceptance criteria

  • a hello world operator implementation exists that is feature-identical to the existing one, but has simplified property handling without the product config. This will serve as a basis for discussion on whether changes should be made to our existing operator code bases.

Related tickets

This ticket would be a step towards fixing this one: https://github.com/stackabletech/issues/issues/338

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia individuando l'hello world operator esistente e seguendo il modo in cui le proprietà del CRD diventano oggetti Kubernetes finali. Confronta il suo attuale percorso di product-config e gestione delle proprietà con un design semplificato e funzionalmente identico, quindi annota se lo spike fornisce una base adatta alla discussione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
kubernetes
Ambito
infrastructure
Tipo di issue
Refactoring
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.