The repository contains an examples folder with disruptions files that you can customize and use. It has a full example of the disruption resource with comments.
You can also have a look at the following use cases with examples of disruptions you can adapt and apply as you wish:
- General options
- Targeting options
- I want to select my targets with label selector operators (advanced selector)
- I want to select my targets based on annotations in addition to the label selector
- I want to target one or some containers of my pod only, not all of them
- I want to disrupt network packets on pod initialization
- I want to select a fixed set of targets (static targeting)
- Node disruptions
- Pod disruptions
- Network disruptions
- I want to drop packets going out from my pods
- I want to corrupt packets going out from my pods
- I want to add network latency to packets going out from my pods
- I want to restrict the outgoing bandwidth of my pods
- I want to disrupt packets going to a specific host, port or Kubernetes service
- I want to disrupt packets going to a specific cloud managed service
- CPU pressure
- Disk pressure
- DNS resolution mocking