Skip to content

[tmpnet] Add kube topology support#5334

Draft
maru-ava wants to merge 4 commits into
masterfrom
maru/tmpnet-topology
Draft

[tmpnet] Add kube topology support#5334
maru-ava wants to merge 4 commits into
masterfrom
maru/tmpnet-topology

Conversation

@maru-ava
Copy link
Copy Markdown
Contributor

@maru-ava maru-ava commented May 1, 2026

Why this should be merged

Being able to induce latency between nodes effectively simulates the effects of geographic distribution. This is accomplished by exposing a new Topology field on tmpnet.Network that configures NetworkChaos resources when a network is started on a Kubernetes cluster that has Chaos Mesh installed.

How this was tested

New unit tests and e2e testing validate the implementation

Need to be documented in RELEASES.md?

N/A

@maru-ava maru-ava self-assigned this May 1, 2026
@maru-ava maru-ava added testing This primarily focuses on testing devinfra labels May 1, 2026
@maru-ava maru-ava force-pushed the maru/tmpnet-topology branch 2 times, most recently from f1d59ae to fc25477 Compare May 1, 2026 21:31
@maru-ava maru-ava moved this to In Progress 🏗️ in avalanchego May 1, 2026
@maru-ava maru-ava linked an issue May 1, 2026 that may be closed by this pull request
Comment thread tests/fixture/tmpnet/network.go
Comment thread tests/fixture/tmpnet/network.go
Comment thread tests/fixture/tmpnet/README.md
Comment thread go.mod
Comment thread .github/workflows/ci.yml
Comment thread tests/fixture/tmpnet/flags/kubeconfig.go
Comment thread tests/fixture/tmpnet/node.go
Comment thread tests/fixture/tmpnet/topology_runtime_test.go
Comment thread tests/fixture/tmpnet/topology_runtime.go
Comment thread tests/fixture/tmpnet/topology_runtime.go
@maru-ava maru-ava force-pushed the maru/tmpnet-topology branch from fc25477 to 940664a Compare May 2, 2026 00:39
@maru-ava maru-ava changed the base branch from maru/review-briefs to master May 2, 2026 00:41
@maru-ava maru-ava force-pushed the maru/tmpnet-topology branch 2 times, most recently from d3c2763 to 028c06a Compare May 8, 2026 17:09
maru-ava added 3 commits May 12, 2026 13:53
Add tmpnet topology configuration and kube-backed implementation via Chaos Mesh
NetworkChaos.

Also add validation for topology connectivity, deterministic resource identity, and a
tmpnet-specific end-to-end test for resource creation, induced latency, and teardown
cleanup.

Change-Id: I19546ee2bfe7fa7c9a4637a90f4eeaa46a598eff
Change-Id: Ib367cec9ce454e3e62163b8e6de377d2eef9c1a2
Change-Id: I8071e86f8ea8c9f2764792900ad04bce2b7c4584
@maru-ava maru-ava force-pushed the maru/tmpnet-topology branch from 028c06a to 61c12a5 Compare May 12, 2026 12:54
Change-Id: I610d452f920bfce6ce99205d5ff70ceb42148c65
@maru-ava maru-ava force-pushed the maru/tmpnet-topology branch from 61c12a5 to 3685d52 Compare May 12, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devinfra testing This primarily focuses on testing

Projects

Status: In Progress 🏗️

Development

Successfully merging this pull request may close these issues.

[tmpnet] Enable simulation of geographic distribution

1 participant