Skip to content

feat(pairs): add bold-kiwi and merry-cherry for the Aruba smoketest - #234

Merged
ricCap merged 1 commit into
mainfrom
feature/add-smoketest-pairs
Oct 25, 2026
Merged

ricCap merged 1 commit into
mainfrom
feature/add-smoketest-pairs

Conversation

@ricCap

@ricCap ricCap commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Adds the two DeveloperEnvironment XRs needed to exercise the per-pair path end to end on the rebuilt Aruba cluster — the minimum that still proves isolation between pairs. Names reused from this repo's own history rather than invented.

apiVersion: workshop.example.io/v1alpha1
kind: DeveloperEnvironment
metadata:
  name: bold-kiwi
spec:
  pairId: bold-kiwi

spec.pairId only, no quota block — the XRD's default: {} on the parent is what lets the child defaults fire (6 CPU / 12Gi requests, 18/24Gi limits, 90 pods). Verified with a server-side dry-run against the live XRD: both admit cleanly and default as expected.

Capacity

The rebuilt cluster is a single md-medium node — 4 vCPU / 7.66 GiB allocatable, i.e. identical capacity to the old md-standard, so PLAN.md §Cluster sizing carries over unchanged. Two pairs fit comfortably:

  • The per-pair quota is a ceiling, not a reservation. Each vcluster control plane actually requests 250m / 512Mi, so two pairs add ~500m / 1Gi on top of the ~1.3 vCPU / 2.8 GiB baseline.
  • PVCs are 5Gi per pair (vcluster chart default, unset in the Composition), so ~10Gi of acloud block storage.

Note the chart default is retentionPolicy: Retain, so these PVCs survive task workshop:close-event and need explicit cleanup — otherwise storage creeps 5Gi per pair on every smoketest cycle.

What merging does, and what it deliberately does not

Merging starts provisioning immediately: Namespace, vcluster Helm Release, HTTPRoute, ResourceQuota, LimitRange, NetworkPolicies and the Loft User / VirtualClusterInstance per pair.

Two things will then look broken but are deliberate operator gates:

  • The VirtualClusterInstances sit in phase: Pending with Condition SpaceSynced is missing until PLATFORM_ACCESS_KEY=… task platform:register-vclusters installs the syncer credential.
  • The Aruba bundle (provider-arubacloud, ProviderConfig, Kyverno + the 14 policies) only lands once task workshop:enable-aruba PAIR=<id> writes the ArgoCD Cluster Secret the vcluster-aruba-bundle ApplicationSet selects on.

Neither is a failure, and neither blocks this merge.

Context

This is the first exercise of the Composition on the upgraded stack from #233 — notably vcluster 0.37.4 (up from 0.33.1) and provider-helm v1.5.0, which composes the per-pair Release. Nothing had exercised either until now, because the cluster had zero XRs when #233 merged.

The management spine it lands on is already verified green: all ten Applications Synced + Healthy, both Let's Encrypt certs issued, and both public hostnames serving HTTP 200 on valid TLS.

Routing needs no DNS change — pairs are served at /team/<pair>/ on the existing crossplane.workshop.riccardocapraro.com host.

🤖 Generated with Claude Code

Two DeveloperEnvironment XRs, the minimum needed to exercise the
per-pair path end to end on the rebuilt Aruba cluster. Names reused
from this repo's own history rather than invented.

`spec.pairId` only, no `quota` block — the XRD's `default: {}` on the
parent makes the child defaults fire (6 CPU / 12Gi requests, 18/24Gi
limits, 90 pods). Verified with a server-side dry-run against the live
XRD: both admit cleanly and default as expected.

Capacity checks out on the single md-medium node (4 vCPU / 7.66 GiB
allocatable). The per-pair quota is a ceiling, not a reservation — each
vcluster control plane actually requests 250m / 512Mi, so two pairs add
~500m / 1Gi on top of the ~1.3 vCPU / 2.8 GiB baseline. PVCs are 5Gi
per pair, so ~10Gi of `acloud` block storage.

Merging this starts provisioning. Note the pairs' VirtualClusterInstances
will sit in `phase: Pending` with `SpaceSynced is missing` until
`platform:register-vclusters` installs the syncer credential, and the
Aruba bundle only lands once `workshop:enable-aruba` is run per pair —
both deliberate operator gates, not failures.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
@ricCap
ricCap merged commit 5d61a9e into main Oct 25, 2026
@ricCap
ricCap deleted the feature/add-smoketest-pairs branch October 25, 2026 16:45
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.

1 participant