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:
committed by
GitHub
parent
6f3cec8567
commit
b12cd5037d
@@ -85,6 +85,12 @@ spec:
|
|||||||
- name: PROXY_PORT
|
- name: PROXY_PORT
|
||||||
value: "20000"
|
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
|
# network interface on which the proxy will listen
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
@@ -87,6 +87,12 @@ spec:
|
|||||||
- name: PROXY_PORT
|
- name: PROXY_PORT
|
||||||
value: "20000"
|
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
|
# network interface on which the proxy will listen
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
@@ -90,7 +90,13 @@ spec:
|
|||||||
# port on which the proxy will listen
|
# port on which the proxy will listen
|
||||||
- name: PROXY_PORT
|
- name: PROXY_PORT
|
||||||
value: "20000"
|
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
|
# network interface on which the proxy will listen
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
@@ -86,6 +86,12 @@ spec:
|
|||||||
- name: PROXY_PORT
|
- name: PROXY_PORT
|
||||||
value: "20000"
|
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
|
# network interface on which the proxy will listen
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
@@ -77,6 +77,7 @@ spec:
|
|||||||
# modified status code for the http response
|
# modified status code for the http response
|
||||||
# if no value is provided, a random status code from the supported code list will selected
|
# 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 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]
|
# 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
|
- name: STATUS_CODE
|
||||||
value: ''
|
value: ''
|
||||||
@@ -92,6 +93,12 @@ spec:
|
|||||||
# port on which the proxy will listen
|
# port on which the proxy will listen
|
||||||
- name: PROXY_PORT
|
- name: PROXY_PORT
|
||||||
value: "20000"
|
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
|
# network interface on which the proxy will listen
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
|
Reference in New Issue
Block a user