injectGrpcFaults injects gRPC faults in the requests served by a target Pod.
Parameter | Type | Description |
---|---|---|
fault | object | description of the gRPC faults to be injected |
duration | string | duration of the disruption |
options (optional) | object | options that control the injection of the fault |
options
The injection of the fault is controlled by the following options:
Option | Type | Description |
---|---|---|
proxyPort | number | port the agent will use to listen for requests in the target pods ( default 8080) |
iface | string | network interface where the agent will capture the traffic ( default eth0) |