Deploy chart: no protection against both copies of a service going down together, and no documented rollback for database changes

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
helm, kubernetes, python

Direzione di ricerca

Start by reading the chart README and docs/releases.md, then inspect the chart templates and render tests. The issue spans disruption budgets and pod placement, migration rollback policy, outbound network rules, and the default image tag, but does not identify specific files or define acceptance criteria for most of those changes. Done means the chart render tests cover the new objects and docs/releases.md documents rollback.

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

Descrizione

enhancement queue: deploy artifacts (R)

Found in the 2026-11-29 whole-repo review. Reported by a reviewer from rendering the chart.

Problem

  • The chart renders no disruption budgets, spread rules or anti-affinity. Services with two copies can both land on one node; when that node is drained (routine on auto-managed clusters) the service is down.
  • Database migrations run as pre-upgrade jobs and only go forward. Neither docs/releases.md nor the chart README says what to do if an upgrade migrates the database and then fails — a chart rollback would run old code against the new schema.
  • In the main namespace, network rules restrict incoming traffic only; catalog services that only need the database, storage and the identity provider can reach anything.
  • The chart's default image tag refers to a version that has never been published.

Suggested fix

Optional disruption budget and soft spread for multi-copy services; a written rollback policy (snapshot first; migrations stay compatible with the previous release; roll back by restore); opt-in outbound rules for services that never fetch arbitrary URLs.

Acceptance criteria

  • Chart render tests cover the new objects; rollback section in docs/releases.md
Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 26m
PR unite (30g)
47

Preparare l'ambiente

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.

Altre issue di TechTraverse/stac-higher

Tutte le issue di TechTraverse/stac-higher

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.