Deployment artifacts: images, Helm chart, Terraform modules (R)

Aperta
#136 2 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
aws, docker, github, helm, kubernetes, python, terraform

Direzione di ricerca

Start with docs/superpowers/specs/2026-11-02-deployment-artifacts-design.md, then read ADR 0024 and the linked slice issues to understand the agreed scope and blockers. Work is divided across #137–#146, with #147 reserved for the lead; the open Kueue ownership question also needs the cluster team. Done means completing a specific unblocked slice and its stated validation, rather than implementing this umbrella issue as a single change.

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

Descrizione

epic queue: deploy artifacts (R)

Read first: the design spec docs/superpowers/specs/2026-11-02-deployment-artifacts-design.md (approved 2026-11-03), which implements ADR 0024 docs/decisions/0024-deployment-artifacts.md. Background: the K spec docs/superpowers/specs/2026-09-02-process-compute-k8s-kueue-design.md §6, §7, §11.

What and why

The platform needs to run in an AWS account. The first target is a team test environment in commercial us-east-1 that is also the first full demo: connections, extractors, products, processes, destinations, the GOES loop including the GeoColor run, and the Icechunk cube.

This repo is public and holds no account details, so it doesn't deploy. It publishes versioned artifacts: images, a Helm chart and Terraform/OpenTofu modules. A private deployment repo (GitLab or GitHub) supplies the account's values and deploys them. The EKS cluster comes from a separate cluster repo.

Settled decisions

From ADR 0024 and the lead's answers on 2026-11-02 and 11-03:

  • Publish, don't deploy. On each v* tag this repo publishes:
    • GHCR images;
    • the stac-higher chart as an OCI artifact on GHCR;
    • Terraform modules, pinned by git tag;
    • a release manifest of image digests.
  • Terraform/OpenTofu creates the AWS resources: RDS, S3, KMS, IAM and workload identity, Secrets Manager, the ECR pull-through cache, and optionally Cognito and a demo destination. Helm creates all Kubernetes objects. Terraform never creates Kubernetes objects.
  • eoapi-cdk is not adopted; its services run on Lambda. eoapi-k8s is a subchart for the catalog plane, with its pgstac bootstrap and bundled Postgres turned off. If it doesn't fit, we fall back to our own templates.
  • The app, pipeline and proxies run on EKS, beside the process runs. The cluster itself is out of scope.
  • GovCloud-portable where cheap:
    • ARNs built from the partition;
    • no ECR Public;
    • Pod Identity, with IRSA as a toggle.
  • The first environment is CPU only. GPUs stay in #16.
  • Run credentials are bounded at 1 hour on AWS by an explicit refusal at deploy and at mint, because of the role-chaining cap.
  • Demo destination: an S3 bucket reached with a scoped IAM user key, entered as a connection credential.
  • Configurable audience claim: the bearer-token claim the app and proxy check is configurable (aud or client_id), so Cognito works.
  • Image references: image rows keep their upstream GHCR references, and the executor maps pulls to the ECR mirror. User images in a private ECR repository aren't supported yet.
  • The chart works with both helm upgrade --install and Argo CD/Flux.

Open

  • Q1 (spec §13): does this chart or the cluster repo own the Kueue queues and flavors, the runs NodePool and the admission policy? Needs the cluster team. The chart defaults to owning them, behind one toggle.

Slices

The order follows spec §12. Each issue names its blockers.

  • #137 R-1 · App: runtime public URLs, S3 credential chain, RDS TLS, credential-budget refusal, audience claim, migrate CLI (ready)
  • #138 R-2 · Pipeline + cube-server: S3 credential chain, RDS TLS, credential cap at mint (ready)
  • #139 R-3 · Release artifacts: publish the auth-proxy image, provenance + SBOM, release manifest (ready)
  • #140 R-4 · Terraform: kms, storage, secrets, registry modules + CI validation + example skeleton (ready)
  • #141 R-5 · Terraform: database, identity, cognito, demo-destination modules + helm_values output (after R-4)
  • #142 R-6 · Helm chart skeleton: app, pipeline, db-bootstrap + migrate Jobs, config, secrets, ingress, NetworkPolicies (after R-1, R-2)
  • #143 R-7 · Chart: eoapi-k8s catalog plane (fit check first) + cube-server (after R-6)
  • #144 R-8 · Chart: process-runs namespace, RBAC, NetworkPolicies, Kueue + NodePool objects; executor registry mirror map (after R-6 and #13, #14)
  • #145 R-9 · Release workflow: push the chart to GHCR as OCI; first v0.x tag (after R-3, R-6)
  • #146 R-10 · Demo seed as an in-cluster Job against a deployed stack (after R-5, R-6)
  • #147 R-11 · First deploy rehearsal into the test account: GOES loop, GeoColor, cube demo — lead only (lead-only; after all)

Sequencing

  • R-1 to R-4 have no blockers and can run in parallel.
  • The demo also depends on the K queue's executor path, #11 → #12 → #13 → #14, because extractors and GeoColor are process runs and EKS Auto Mode has no Docker daemon.
  • #16 (K-8) is narrowed to the GPU leg.
  • Related: #68 (egress lockdown), #34 (tile-server read visibility), #2 (K epic).
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.