Skip to content

benchmarking: add the nighthawk-egress test type - #3841

Open
Yuan Gao (ygao-g) wants to merge 3 commits into
agent-substrate:mainfrom
ygao-g:nighthawk-egress-d2-test-type
Open

Yuan Gao (ygao-g) wants to merge 3 commits into
agent-substrate:mainfrom
ygao-g:nighthawk-egress-d2-test-type

Conversation

@ygao-g

@ygao-g Yuan Gao (ygao-g) commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

With the new nighthawk-egress test type, the orchestrator pins deployment/atenet-egress to one replica and envoyCpu cores, deploys the Nighthawk rig, and submits the runner Job. Test types can now skip deploying benchmarking/workloads and tear down their own workloads. nighthawk-egress supports only the gvisor sandbox class.

The invoker Envoy that adds the ate-target-actor header moves from a Deployment to a sidecar of the runner Job that listens on 127.0.0.1. The sidecar connects to atenet-router as benchmarking/benchmark-runner, which the orchestrator already allows. Manual runs in the README forward a port with kubectl-ate proxy actor and require ate-system/atenet-client on the ingress allow list.

A run of the type needs the runner image from the runner PR and the kubectl-ate build from #3627.

Part of #3624

AI use: AI-assisted for the diff, the split and the test runs; I reviewed the diff.

  • Tests pass
  • Docs updated

Add USES_SHARED_WORKLOADS and teardown_workloads to TestType. The
orchestrator deploys benchmarking/workloads only for types that use it
and calls teardown_workloads before and after each test.

Signed-off-by: Yuan Gao <ypgao@google.com>
The invoker Envoy runs on 127.0.0.1 as a sidecar of the runner Job in
nighthawk-egress-runner-job.yaml.tmpl. The Job runs as
benchmarking/benchmark-runner. Manual runs in the README forward a
port with kubectl-ate proxy actor.

Signed-off-by: Yuan Gao <ypgao@google.com>
nighthawk-egress pins deployment/atenet-egress to one replica and
envoyCpu cores, deploys and tears down its own Nighthawk rig, and runs
the runner Job from nighthawk-egress-runner-job.yaml.tmpl.

Signed-off-by: Yuan Gao <ypgao@google.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants