No results for

Powered byAlgolia

injectGrpcFaults injects gRPC faults in the requests served by a target Service.

faultobjectdescription of the gRPC faults to be injected
durationstringduration of the disruption
options (optional)objectoptions that control the injection of the fault


The injection of the fault is controlled by the following options:

proxyPortnumberport the agent will use to listen for requests in the target pods ( default 8080)
ifacestringnetwork interface where the agent will capture the traffic ( default eth0)


const fault = {
averageDelay: "50ms",
statusCode: 13,
errorRate: 0.1
disruptor.injectGrpcFaults(fault, "30s")