Added HTTP Chaos Toxicity (#563)

* improved description of http experiments

Signed-off-by: avaakash <as86414@gmail.com>

* Added toxicity env in http chaos

Signed-off-by: avaakash <as86414@gmail.com>

Signed-off-by: avaakash <as86414@gmail.com>
This commit is contained in:
Akash Shrivastava
2022-08-16 15:11:24 +05:30
committed by GitHub
parent 6f3cec8567
commit b12cd5037d
5 changed files with 32 additions and 1 deletions

View File

@@ -85,6 +85,12 @@ spec:
- name: PROXY_PORT
value: "20000"
# toxicity is the probability of the request to be affected
# provide the percentage value in the range of 0-100
# 0 means no request will be affected and 100 means all request will be affected
- name: TOXICITY
value: "100"
# network interface on which the proxy will listen
- name: NETWORK_INTERFACE
value: "eth0"

View File

@@ -87,6 +87,12 @@ spec:
- name: PROXY_PORT
value: "20000"
# toxicity is the probability of the request to be affected
# provide the percentage value in the range of 0-100
# 0 means no request will be affected and 100 means all request will be affected
- name: TOXICITY
value: "100"
# network interface on which the proxy will listen
- name: NETWORK_INTERFACE
value: "eth0"

View File

@@ -91,6 +91,12 @@ spec:
- name: PROXY_PORT
value: "20000"
# toxicity is the probability of the request to be affected
# provide the percentage value in the range of 0-100
# 0 means no request will be affected and 100 means all request will be affected
- name: TOXICITY
value: "100"
# network interface on which the proxy will listen
- name: NETWORK_INTERFACE
value: "eth0"

View File

@@ -86,6 +86,12 @@ spec:
- name: PROXY_PORT
value: "20000"
# toxicity is the probability of the request to be affected
# provide the percentage value in the range of 0-100
# 0 means no request will be affected and 100 means all request will be affected
- name: TOXICITY
value: "100"
# network interface on which the proxy will listen
- name: NETWORK_INTERFACE
value: "eth0"

View File

@@ -77,6 +77,7 @@ spec:
# modified status code for the http response
# if no value is provided, a random status code from the supported code list will selected
# if an invalid status code is provided, the experiment will fail
# if multiple comma separated values are provided, then a random value from the provided list will be selected
# supported status code list: [200, 201, 202, 204, 300, 301, 302, 304, 307, 400, 401, 403, 404, 500, 501, 502, 503, 504]
- name: STATUS_CODE
value: ''
@@ -93,6 +94,12 @@ spec:
- name: PROXY_PORT
value: "20000"
# toxicity is the probability of the request to be affected
# provide the percentage value in the range of 0-100
# 0 means no request will be affected and 100 means all request will be affected
- name: TOXICITY
value: "100"
# network interface on which the proxy will listen
- name: NETWORK_INTERFACE
value: "eth0"