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

Abierto
#136 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
aws, docker, github, helm, kubernetes, python, terraform

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).
Lenguaje dominante
Python
Estrellas
0
Forks
2
Merge medio
8 h 26 min
PR fusionados (30 d)
47

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TechTraverse/stac-higher

Todos los issues de TechTraverse/stac-higher

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.