Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement NodeDisruptor #156

Open
pablochacin opened this issue May 2, 2023 · 0 comments
Open

Implement NodeDisruptor #156

pablochacin opened this issue May 2, 2023 · 0 comments

Comments

@pablochacin
Copy link
Collaborator

pablochacin commented May 2, 2023

Implement a disruptor for injecting faults in nodes of a Kubernetes cluster.

The disruptor should allow selecting/excluding nodes based on labels, taints (e.g. unschedulable), and conditions (e.g. Ready).

The disruptor will allow the injection of faults such as network traffic disruption (e.g. package drops) and resource depletion (e.g. CPU or memory consumption)

The following is a mock of the intended interface

const disruptor = new NodeDisruptor(
    selector: {
        labels: {
             'topology.k8s.io/zone': "zone-a"
        }
    }

disruptor.stressResources(
    {
        cores: 2,
        utilization:  1.0,
        memory: "3Gb"
    },
   "1m"
)
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

No branches or pull requests

1 participant