google / google/gvisor

Chaos Engineering with gvisor

Open
#1,016 7 comments 0 reactions 1 assignee Claimed by @seeker89 View on GitHub
area: tooling area: usability type: enhancement type: proposal
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

Hello there,

I wanted to ask whether there were any plans and/or appetite to include fault injection into this kernel? I'm interested in [Chaos Engineering](https://principlesofchaos.org) and this userspace kernel looks like a perfect place to expose some way to introduce failure.

In particular, I think that just adding fine-controlled delays and/or a certain amount of errors on particular syscalls would allow for a lot of valuable testing.

From reading the code, it looks like adding a layer like that would be both reasonably easy and cheap.

Please tell me if that's something that you'd be interested in accepting as a PR, and if you are, I'll follow up with a more detailed plan.

Also, the dev mailing list seems to be dominated with the automated messages, so I figured that an issue would be a better way to put this forward.

Thanks !

And btw, `gvisor` is pretty awesome, thanks for the hard work that went into it!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.