adds probe units to probe run properties (#595)
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
This commit is contained in:
@@ -82,8 +82,8 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 1
|
||||
components:
|
||||
env:
|
||||
|
@@ -86,8 +86,8 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 1
|
||||
components:
|
||||
env:
|
||||
|
@@ -84,8 +84,8 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
|
@@ -88,8 +88,8 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
|
@@ -82,8 +82,8 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 1
|
||||
components:
|
||||
env:
|
||||
|
@@ -86,8 +86,8 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 1
|
||||
components:
|
||||
env:
|
||||
|
@@ -94,10 +94,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -108,8 +108,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
@@ -164,10 +164,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -178,8 +178,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
@@ -235,10 +235,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 12
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 3
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -249,8 +249,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
@@ -308,10 +308,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 12
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 3
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -322,8 +322,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
@@ -382,10 +382,10 @@ spec:
|
||||
operation: "present"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 1
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -396,8 +396,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
|
@@ -98,10 +98,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -112,8 +112,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
@@ -168,10 +168,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -182,8 +182,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
@@ -239,10 +239,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 12
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 3
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -253,8 +253,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
@@ -312,10 +312,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 12
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 3
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -326,8 +326,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
@@ -386,10 +386,10 @@ spec:
|
||||
operation: "present"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 1
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-probe-success"
|
||||
type: "promProbe"
|
||||
promProbe/inputs:
|
||||
@@ -400,8 +400,8 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
components:
|
||||
env:
|
||||
|
@@ -94,10 +94,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -108,10 +108,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 10
|
||||
initialDelay: 10s
|
||||
components:
|
||||
env:
|
||||
#number of cpu cores to be consumed
|
||||
@@ -165,10 +165,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -179,10 +179,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 10
|
||||
initialDelay: 10s
|
||||
components:
|
||||
env:
|
||||
- name: MEMORY_CONSUMPTION
|
||||
@@ -237,10 +237,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 12
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 3
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -251,10 +251,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 2
|
||||
initialDelay: 2s
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
@@ -310,10 +310,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 12
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 3
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -324,10 +324,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 2
|
||||
initialDelay: 2s
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
@@ -385,10 +385,10 @@ spec:
|
||||
operation: "present"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 1
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -399,10 +399,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 1
|
||||
initialDelay: 1s
|
||||
components:
|
||||
env:
|
||||
- name: FILL_PERCENTAGE
|
||||
|
@@ -98,10 +98,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -112,10 +112,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 10
|
||||
initialDelay: 10s
|
||||
components:
|
||||
env:
|
||||
#number of cpu cores to be consumed
|
||||
@@ -169,10 +169,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -183,10 +183,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 10
|
||||
initialDelay: 10s
|
||||
components:
|
||||
env:
|
||||
- name: MEMORY_CONSUMPTION
|
||||
@@ -241,10 +241,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 12
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 3
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -255,10 +255,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 2
|
||||
initialDelay: 2s
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
@@ -314,10 +314,10 @@ spec:
|
||||
responseCode: "200"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 12
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 3
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -328,10 +328,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 2
|
||||
initialDelay: 2s
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
@@ -389,10 +389,10 @@ spec:
|
||||
operation: "present"
|
||||
mode: "Continuous"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 1
|
||||
probePollingInterval: 1
|
||||
probePollingInterval: 1s
|
||||
- name: "check-benchmark"
|
||||
type: "cmdProbe"
|
||||
cmdProbe/inputs:
|
||||
@@ -403,10 +403,10 @@ spec:
|
||||
value: "100"
|
||||
mode: "Edge"
|
||||
runProperties:
|
||||
probeTimeout: 1000
|
||||
interval: 1
|
||||
probeTimeout: 1s
|
||||
interval: 100ms
|
||||
attempt: 2
|
||||
initialDelaySeconds: 1
|
||||
initialDelay: 1s
|
||||
components:
|
||||
env:
|
||||
- name: FILL_PERCENTAGE
|
||||
|
Reference in New Issue
Block a user