Skip to content

Add gharts to the arc dev cluster#404

Merged
zxiiro merged 1 commit intomainfrom
gharts_setup
Apr 15, 2026
Merged

Add gharts to the arc dev cluster#404
zxiiro merged 1 commit intomainfrom
gharts_setup

Conversation

@afrittoli
Copy link
Copy Markdown
Collaborator

@afrittoli afrittoli commented Mar 19, 2026

Deploys the GitHub Actions Runner Token Service (gharts) to the arc dev cluster in us-east-1, using RDS PostgreSQL with IAM authentication via IRSA.

  • 02_helm: gharts Helm release (v0.0.3) using OCI chart from ghcr.io, GitHub App credentials reused from ARC secrets, OIDC via Linux Foundation SSO, ingress at gharts.pytorch.org

@afrittoli
Copy link
Copy Markdown
Collaborator Author

CI fails because the adds to two layers in one go. I need to split this into two, the first PR for 01_infra and the second for 02_helm

@afrittoli afrittoli closed this Apr 14, 2026
@afrittoli afrittoli reopened this Apr 14, 2026
@afrittoli afrittoli changed the base branch from main to gharts_setup_db April 14, 2026 13:20
Copy link
Copy Markdown
Collaborator

@zxiiro zxiiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this still has changes from #444 did you mean to split those changes out of this one?

Comment thread arc/aws/391835788720/us-east-1/02_helm/variables.tf Outdated
*/

data "aws_secretsmanager_secret_version" "gharts_arc_github_app" {
secret_id = "pytorch-arc-github-app"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't have to do in this PR but I was wondering if maybe we should create a separate GitHub App just for GHARTS? Keep a clean separation of service access?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we can do. I would say we should do that once we move to a prod implementation.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 15, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: afrittoli / name: Andrea Frittoli (8087a87)

@afrittoli
Copy link
Copy Markdown
Collaborator Author

Looks like this still has changes from #444 did you mean to split those changes out of this one?

Yes, fixed now, thank you

github-merge-queue bot pushed a commit that referenced this pull request Apr 15, 2026
Provisions the AWS infrastructure required by the gharts service on the
arc dev cluster.

- RDS db.t3.micro PostgreSQL instance with IAM authentication enabled
- Security group allowing PostgreSQL access from within the VPC
- DB subnet group covering private subnets
- IAM role and rds-db:connect policy for IRSA
- Outputs: `gharts_rds_host`, `gharts_irsa_role_arn` (consumed by
02_helm)

## Stack

1. **This PR** — 01_infra: RDS instance, security group, subnet group,
IRSA role and policy, outputs
2. **PR #404** — 02_helm: gharts Helm release (depends on this PR)

Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
Base automatically changed from gharts_setup_db to main April 15, 2026 13:03
Deploys the GitHub Actions Runner Token Service (gharts) to the arc
dev cluster using the OCI chart from ghcr.io/afrittoli/gharts (v0.0.3).

- Reuses GitHub App credentials from the pytorch-arc-github-app secret
- OIDC authentication via Linux Foundation SSO (sso.linuxfoundation.org)
- RDS IAM authentication via IRSA — no password required
- Ingress at gharts.pytorch.org with Let's Encrypt TLS

Depends on the 01_infra gharts outputs (gharts_rds_host, gharts_irsa_role_arn).

Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
@zxiiro zxiiro added this pull request to the merge queue Apr 15, 2026
Merged via the queue into main with commit 57d72cf Apr 15, 2026
12 checks passed
@zxiiro zxiiro deleted the gharts_setup branch April 15, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants