Status: Done
As a developer, I want a Kubernetes namespace to be created automatically when I open a PR, So that my changes are deployed to an isolated environment.
- GitHub Actions workflow triggers on
pull_request: openedevent - Namespace created with naming convention:
{project-id}-pr-{number}(e.g.,k8s-ee-pr-28) - Namespace has standard labels (pr-number, branch, commit-sha)
- ResourceQuota and LimitRange applied to namespace
- Workflow completes in < 2 minutes
Must - Critical for MVP
5
- US-002: Install and Configure k3s Cluster
- Uses Actions Runner Controller (ARC) with GitHub App authentication
- Runners run inside the cluster with ServiceAccount for kubectl access
- Namespace is idempotent (re-running updates labels/annotations)
- Uses envsubst for manifest templating
- See
k8s/arc/README.mdfor ARC setup instructions - See
docs/runbooks/arc-operations.mdfor operations guide