grafana / xk6-disruptor

Extension for injecting faults into k6 tests
https://k6.io/docs/javascript-api/xk6-disruptor/
GNU Affero General Public License v3.0
89 stars 9 forks source link

Define strategy for testing node disruptor #366

Open pablochacin opened 10 months ago

pablochacin commented 10 months ago

Presently the tests for pod and service disruptors use one of the following approaches:

However, the node disruptor is intended to affect the "physical" nodes of a cluster by consuming resources, disrupting the network traffic, or executing other actions (e.g. rebooting the node).

All these actions are hard to emulate in test clusters. For example, setting memory and CPU resources to be allocated to each "node".

Therefore, we need a strategy for running tests on a "real": cluster that allows to to measure the impact of the disruptions in terms of resource usage, network traffic, and other possible effects.