egress-test: the chart's egress check, three ways (K-C7) #26

Merged
jcoffey-dev merged 1 commits from feat/egress-test into main 2026-11-19 13:41:20 +00:00
Owner

lab/network/egress-test.sh runs an HAProxy on the kind network that answers with the caller's address, used as server.egress.checkUrl. It pins the mta pods to one node, whose address is what kind sends their traffic out from, and checks the event the check leaves in three cases:

  • the node's address expected: Normal EgressAddress;
  • another address: Warning EgressMismatch;
  • a URL that doesn't answer: Warning EgressUnknown, with the install still succeeding.

All pass with inbuxa/inbuxa-charts#25. The test puts the chart back and removes HAProxy.

The lab's token policy now lets the egress check mount its token too (app.kubernetes.io/component: egress-check), as the upgrade Job does. I've already applied it to the kind cluster.

`lab/network/egress-test.sh` runs an HAProxy on the kind network that answers with the caller's address, used as `server.egress.checkUrl`. It pins the mta pods to one node, whose address is what kind sends their traffic out from, and checks the event the check leaves in three cases: - the node's address expected: `Normal EgressAddress`; - another address: `Warning EgressMismatch`; - a URL that doesn't answer: `Warning EgressUnknown`, with the install still succeeding. All pass with inbuxa/inbuxa-charts#25. The test puts the chart back and removes HAProxy. The lab's token policy now lets the egress check mount its token too (`app.kubernetes.io/component: egress-check`), as the upgrade Job does. I've already applied it to the kind cluster.
jcoffey-dev added 1 commit 2026-11-19 06:17:25 +00:00
An HAProxy on the kind network answers with the caller's address, as
server.egress.checkUrl. With the mta pods on one node: its address
expected gives a Normal event, another address a Warning, and a checkUrl
that doesn't answer a Warning while the install still succeeds. The lab's
token policy lets the egress check mount its token, as the upgrade Job
does.
jcoffey-dev merged commit 09b799d6cb into main 2026-11-19 13:41:20 +00:00
jcoffey-dev deleted branch feat/egress-test 2026-11-19 13:41:20 +00:00
Sign in to join this conversation.