Skip to content

ate-setup: use the envoy-dataplane image in atenet-router - #2655

Merged
Lior Lieberman (LiorLieberman) merged 1 commit into
agent-substrate:mainfrom
panchoruy:atenet-router-envoy-dataplane-image
Oct 15, 2026
Merged

Lior Lieberman (LiorLieberman) merged 1 commit into
agent-substrate:mainfrom
panchoruy:atenet-router-envoy-dataplane-image

Conversation

@panchoruy

@panchoruy Pancho Trujillo (panchoruy) commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Replaces the stock envoyproxy/envoy image reference in manifests/ate-install/atenet-router.yaml with the ${ENVOY_DATAPLANE_IMAGE} placeholder so both atenet-egress and atenet-router deploy the same envoy-dataplane image built from cmd/dataplane/envoy/Dockerfile (or pinned from a release via --image-repo).

  • Updates renderAtenetRouterManifest and renderSystemManifests in cmd/ate-setup to resolve and substitute ${ENVOY_DATAPLANE_IMAGE}.
  • Caches resolved Dockerfile image references on steps.Env so deployments rendering multiple manifests (atenet-router + atenet-egress + system overlay) only build or pin envoy-dataplane once.
  • Extends TestRenderAtenetEgressManifestPrebuilt to verify ${ENVOY_DATAPLANE_IMAGE} substitution across router, egress, and system manifests.

Part of #1330

AI was used in the development of this change.

  • Tests pass
  • Appropriate changes to documentation are included in the PR

@bowei Bowei Du (bowei) added area/dev-infra area/network kind/cleanup Small fixes that are not bugs, for example a typo in a code comment labels Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, so up until now we havent used that image - how did we do benchmarking? CI only used that image?

@panchoruy

Pancho Trujillo (panchoruy) commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Lior Lieberman (@LiorLieberman) Up until now, envoy-dataplane and this image was only being used by the worker-node Envoy (manifests/ate-install/atenet-egress.yaml) since #1535), since it was the only dynamic module so far (egress-policy which runs on the worker pod's egress path).

atenet-router's Envoy was still using stock upstream envoyproxy/envoy:v1.37.0 because the ingress path only used built-in Envoy filters (ext_proc, etc.) and didn't load any .so dynamic modules. However we will need to load the new ingress cache dynamic module in the next PR #2420.

The benchmarks you can see there were run with this change included. The version mismatch would otherwise not allow router to use the pre compiled image.

See also: In a review comment on #1535, Haiyan asked about aligning with the ingress Envoy image, and Yan noted: "Ingress will also use this docker image for caching extension."

@LiorLieberman

Copy link
Copy Markdown
Collaborator

something is weird with the job... looks like it finished successfully but it is stuc?

Replace the stock envoyproxy/envoy image in manifests/ate-install/atenet-router.yaml
with the ${ENVOY_DATAPLANE_IMAGE} placeholder so both atenet-egress and
atenet-router run the unified envoy-dataplane image built from
cmd/dataplane/envoy/Dockerfile.

Update renderAtenetRouterManifest and renderSystemManifests to substitute
${ENVOY_DATAPLANE_IMAGE}, and cache resolved Dockerfile images on Env so
multi-manifest deployments only build or pin envoy-dataplane once.
auto-merge was automatically disabled October 15, 2026 18:19

Head branch was pushed to by a user without write access

@panchoruy
Pancho Trujillo (panchoruy) force-pushed the atenet-router-envoy-dataplane-image branch from b5c5d70 to 015cdc2 Compare October 15, 2026 18:19
@panchoruy

Copy link
Copy Markdown
Contributor Author

rebased to latest main. Please restamp :)

Merged via the queue into agent-substrate:main with commit 8e157bb Oct 15, 2026
24 of 27 checks passed
@panchoruy
Pancho Trujillo (panchoruy) deleted the atenet-router-envoy-dataplane-image branch October 15, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dev-infra area/network kind/cleanup Small fixes that are not bugs, for example a typo in a code comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants