Skip to content

Docker-tc instead of Pumba#2434

Merged
skudasov merged 12 commits intomainfrom
chaosd-or-docker-tc
Feb 26, 2026
Merged

Docker-tc instead of Pumba#2434
skudasov merged 12 commits intomainfrom
chaosd-or-docker-tc

Conversation

@skudasov
Copy link
Contributor

@skudasov skudasov commented Feb 26, 2026


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes introduce Docker-TC as a replacement for Pumba to manage Docker-based chaos experiments, addressing Docker API compatibility issues. It adds the ability to create, manage, and remove various network conditions (delay, loss, corruption, and duplication) on containers directly, enhancing the testing framework's capabilities in simulating real-world scenarios for better resilience testing.

What

  • framework/.changeset/v0.14.8.md
    • Adds a changeset note about replacing Pumba with Docker-TC.
  • framework/chaos/chaos.go
    • Adds imports and constants related to Docker-TC commands and configuration.
    • Implements DockerChaos struct and methods for initializing Docker-TC, applying, and removing chaos experiments.
    • Marks the previous ExecPumba method as deprecated, indicating a shift towards using Docker-TC for chaos experiments.
  • framework/chaos/chaos_test.go
    • Adds new test file for chaos package, including tests for various Docker-TC chaos experiments (pause, delay, loss, corrupt, duplicate) on a container, validating the functionality of the DockerChaos implementation.
  • framework/components/fake/fake.go
    • Minor cleanup by removing an extraneous newline and adjusting import formatting, unrelated to the main Docker-TC changes but likely for code cleanliness.

@skudasov skudasov marked this pull request as ready for review February 26, 2026 13:52
@skudasov skudasov requested a review from a team as a code owner February 26, 2026 13:52
Tofel
Tofel previously approved these changes Feb 26, 2026
@skudasov skudasov merged commit 73ff107 into main Feb 26, 2026
73 of 75 checks passed
@skudasov skudasov deleted the chaosd-or-docker-tc branch February 26, 2026 15:29
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.

2 participants