Skip to content

docs: record the 2-pair Aruba smoketest, and fix two stale version refs - #240

Merged
ricCap merged 1 commit into
mainfrom
docs/record-aruba-smoketest-findings
Oct 25, 2026
Merged

ricCap merged 1 commit into
mainfrom
docs/record-aruba-smoketest-findings

Conversation

@ricCap

@ricCap ricCap commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Writes up what the 2-pair Aruba smoketest actually found, and corrects two version references the #233 sweep left behind.

The headline

task verify:all MODE=platform reports OK (2 pair(s)). That had never passed on Aruba, and it closes the three items #73 has carried since PR #26 — the full participant chain is proven: public Envoy hostname → Let's Encrypt cert → Loft auth proxy → per-pair policy → inner apiserver.

Every bump in #233 is now exercised live, and Kyverno enforcement was proven with a deliberate denial rather than a green path: docker.io/attacker/provider-evil:v1 blocked by block-rogue-providers, xpkg.upbound.io/crossplane-contrib/provider-helm:v1.5.0 admitted.

The substantive correction

The first workshop's hairpin-NAT diagnosis was wrong, and PLAN.md now says so with the measurements:

From Public hostname Via Envoy ClusterIP
node running Envoy 200 in 5 ms 200 in ~1 ms
any other node timeout, 12 s 200 in ~1 ms

The cause was the Envoy Service's externalTrafficPolicy: Local with a single replica — kube-proxy only forwards external-IP traffic on nodes running an Envoy Pod. Invisible for the entire first workshop because that cluster was single-node, so every Pod qualified, and the symptom was indistinguishable from hairpin failure. Fixed in #235 by running Envoy as a DaemonSet; the cert-manager hostAliases workaround from c393e41 is gone.

Also recorded

The four issues this run raised — #236 (DBaaS shape policy guards the wrong kind, so flavor/location/storage caps are inert), #237 (enable-aruba preconditions, opaque error, false-negative sync wait), #238 (ArgoCD not ingesting fresh per-pair Cluster Secrets), #239 (Aruba volume wedging, and retentionPolicy: Retain leaking 5 GiB per pair per teardown).

Four smaller things worth not rediscovering: the storeconfigs shim is still required on 2.4.3-up.1; provider-helm crashlooping once or twice on a cold start is an expected RBAC race, not a fault; the second node joining mid-run is what exposed the Envoy bug; and the CIDR choices held with no overlap.

And an explicit list of what this run did not cover, so nobody reads the green verify as full coverage: module 06 is entirely unexercised (github:register never ran, so github-app-credentials is absent from both namespaces), module 07 §7.3 needs aruba-shared-network, 101 module 05 was never walked so configuration-installed is unproven, and the validator dashboard and ArgoCD per-pod cards went unchecked.

Two stale refs

task docs:i18n:check stays green — module 01 is backlogged under #224, so the Italian mirror needs no change.

🤖 Generated with Claude Code

Writes up what the run actually found, replacing the forward-looking
plan with results, and corrects two version references that the #233
sweep left behind.

PLAN.md now records that steps 1-7 and 9 of the smoketest are done:
`verify:all MODE=platform` reports OK for both pairs, which had never
passed on Aruba and closes the three items #73 carried since PR #26.
Every bump in #233 is exercised live, and Kyverno enforcement was
proven with a deliberate denial rather than a green path.

The substantive correction is that the first workshop's hairpin-NAT
diagnosis was wrong. The measurements are recorded in place: a Pod
co-located with Envoy reaches the public hostname in 5ms, a Pod on any
other node times out, and both reach the Envoy ClusterIP in ~1ms. The
cause was `externalTrafficPolicy: Local` with a single Envoy replica,
invisible on a single-node cluster because every Pod qualified. Fixed
in #235; the cert-manager `hostAliases` workaround is gone.

Also records the four issues the run raised (#236 DBaaS shape policy
guarding the wrong kind, #237 enable-aruba preconditions and
false-negative sync wait, #238 ArgoCD not ingesting fresh Cluster
Secrets, #239 Aruba volume wedging and retained volumes), four smaller
observations worth not rediscovering — the storeconfigs shim is still
needed on 2.4.3-up.1, provider-helm crashlooping once on cold start is
expected, the second node is what exposed the Envoy bug, and the CIDR
choices held — and an explicit list of what this run did *not* cover:
module 06 (github:register never ran), module 07 §7.3, 101 module 05,
the validator dashboard and ArgoCD per-pod cards.

Two stale refs fixed:

- `04-crossplane-101/01-set-up-the-cli.mdx` still explained "the
  `-up.5` suffix is a SemVer pre-release tag" after the pin moved to
  `2.4.3-up.1`. Introduced by my own edit in #233.
- AGENTS.md floored the vcluster CLI at `>= 0.31.0`, which is now
  four minor versions behind the chart the Composition pins and emits
  an upgrade warning on every invocation.

`task docs:i18n:check` stays green; module 01 is backlogged under #224
so the Italian mirror needs no change.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
@ricCap
ricCap merged commit 8b68708 into main Oct 25, 2026
5 checks passed
@ricCap
ricCap deleted the docs/record-aruba-smoketest-findings branch October 25, 2026 17: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