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

Open
#241 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
helm, kubernetes, python

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
Python
Stars
0
Forks
2
Avg merge
8h 26m
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TechTraverse/stac-higher

All issues in TechTraverse/stac-higher

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.