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

Đang mở
#136 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
aws, docker, github, helm, kubernetes, python, terraform
Lĩnh vực
cloud, devops, infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).
Ngôn ngữ chính
Python
Star
0
Fork
2
Merge trung bình
8 giờ 26 phút
Pull request đã merge (30 ngày)
47

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TechTraverse/stac-higher

Tất cả issue của TechTraverse/stac-higher

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.