From 2336656ac6faff2d08139f5c7b44fd42317d12e0 Mon Sep 17 00:00:00 2001 From: Shubham Chaudhary Date: Fri, 17 Mar 2023 13:57:35 +0530 Subject: [PATCH] chore(probe): updating probe retry and timeout (#592) Signed-off-by: Shubham Chaudhary --- scenarios/podtato-head/workflow.yaml | 4 +- scenarios/podtato-head/workflow_cron.yaml | 4 +- workflows/bank-of-anthos/workflow.yaml | 4 +- workflows/bank-of-anthos/workflow_cron.yaml | 4 +- workflows/podtato-head/workflow.yaml | 4 +- workflows/podtato-head/workflow_cron.yaml | 4 +- workflows/sock-shop-promProbe/workflow.yaml | 40 +++++++++---------- .../sock-shop-promProbe/workflow_cron.yaml | 40 +++++++++---------- workflows/sock-shop/workflow.yaml | 40 +++++++++---------- workflows/sock-shop/workflow_cron.yaml | 40 +++++++++---------- 10 files changed, 92 insertions(+), 92 deletions(-) diff --git a/scenarios/podtato-head/workflow.yaml b/scenarios/podtato-head/workflow.yaml index 355456b..b3d24ae 100644 --- a/scenarios/podtato-head/workflow.yaml +++ b/scenarios/podtato-head/workflow.yaml @@ -82,9 +82,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 1 + probeTimeout: 1000 interval: 1 - retry: 1 + attempt: 1 components: env: - name: TOTAL_CHAOS_DURATION diff --git a/scenarios/podtato-head/workflow_cron.yaml b/scenarios/podtato-head/workflow_cron.yaml index 083367b..97bfb15 100644 --- a/scenarios/podtato-head/workflow_cron.yaml +++ b/scenarios/podtato-head/workflow_cron.yaml @@ -86,9 +86,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 1 + probeTimeout: 1000 interval: 1 - retry: 1 + attempt: 1 components: env: - name: TOTAL_CHAOS_DURATION diff --git a/workflows/bank-of-anthos/workflow.yaml b/workflows/bank-of-anthos/workflow.yaml index eb03a9a..4718e4e 100644 --- a/workflows/bank-of-anthos/workflow.yaml +++ b/workflows/bank-of-anthos/workflow.yaml @@ -84,9 +84,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: TOTAL_CHAOS_DURATION diff --git a/workflows/bank-of-anthos/workflow_cron.yaml b/workflows/bank-of-anthos/workflow_cron.yaml index 9fecb77..3549ca1 100644 --- a/workflows/bank-of-anthos/workflow_cron.yaml +++ b/workflows/bank-of-anthos/workflow_cron.yaml @@ -88,9 +88,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: TOTAL_CHAOS_DURATION diff --git a/workflows/podtato-head/workflow.yaml b/workflows/podtato-head/workflow.yaml index 355456b..b3d24ae 100644 --- a/workflows/podtato-head/workflow.yaml +++ b/workflows/podtato-head/workflow.yaml @@ -82,9 +82,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 1 + probeTimeout: 1000 interval: 1 - retry: 1 + attempt: 1 components: env: - name: TOTAL_CHAOS_DURATION diff --git a/workflows/podtato-head/workflow_cron.yaml b/workflows/podtato-head/workflow_cron.yaml index 083367b..97bfb15 100644 --- a/workflows/podtato-head/workflow_cron.yaml +++ b/workflows/podtato-head/workflow_cron.yaml @@ -86,9 +86,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 1 + probeTimeout: 1000 interval: 1 - retry: 1 + attempt: 1 components: env: - name: TOTAL_CHAOS_DURATION diff --git a/workflows/sock-shop-promProbe/workflow.yaml b/workflows/sock-shop-promProbe/workflow.yaml index ee0b0d8..e8e2fd0 100644 --- a/workflows/sock-shop-promProbe/workflow.yaml +++ b/workflows/sock-shop-promProbe/workflow.yaml @@ -94,9 +94,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -108,9 +108,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: #number of cpu cores to be consumed @@ -164,9 +164,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -178,9 +178,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: MEMORY_CONSUMPTION @@ -235,9 +235,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 12 + probeTimeout: 1000 interval: 12 - retry: 3 + attempt: 3 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -249,9 +249,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: TOTAL_CHAOS_DURATION @@ -308,9 +308,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 12 + probeTimeout: 1000 interval: 12 - retry: 3 + attempt: 3 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -322,9 +322,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: TOTAL_CHAOS_DURATION @@ -382,9 +382,9 @@ spec: operation: "present" mode: "Continuous" runProperties: - probeTimeout: 1 + probeTimeout: 1000 interval: 1 - retry: 1 + attempt: 1 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -396,9 +396,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: FILL_PERCENTAGE diff --git a/workflows/sock-shop-promProbe/workflow_cron.yaml b/workflows/sock-shop-promProbe/workflow_cron.yaml index c5fe599..1c8ec7e 100644 --- a/workflows/sock-shop-promProbe/workflow_cron.yaml +++ b/workflows/sock-shop-promProbe/workflow_cron.yaml @@ -98,9 +98,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -112,9 +112,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: #number of cpu cores to be consumed @@ -168,9 +168,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -182,9 +182,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: MEMORY_CONSUMPTION @@ -239,9 +239,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 12 + probeTimeout: 1000 interval: 12 - retry: 3 + attempt: 3 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -253,9 +253,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: TOTAL_CHAOS_DURATION @@ -312,9 +312,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 12 + probeTimeout: 1000 interval: 12 - retry: 3 + attempt: 3 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -326,9 +326,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: TOTAL_CHAOS_DURATION @@ -386,9 +386,9 @@ spec: operation: "present" mode: "Continuous" runProperties: - probeTimeout: 1 + probeTimeout: 1000 interval: 1 - retry: 1 + attempt: 1 probePollingInterval: 1 - name: "check-probe-success" type: "promProbe" @@ -400,9 +400,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 components: env: - name: FILL_PERCENTAGE diff --git a/workflows/sock-shop/workflow.yaml b/workflows/sock-shop/workflow.yaml index 85e397b..f4cbc1e 100644 --- a/workflows/sock-shop/workflow.yaml +++ b/workflows/sock-shop/workflow.yaml @@ -94,9 +94,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -108,9 +108,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 10 components: env: @@ -165,9 +165,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -179,9 +179,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 10 components: env: @@ -237,9 +237,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 12 + probeTimeout: 1000 interval: 12 - retry: 3 + attempt: 3 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -251,9 +251,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 2 components: env: @@ -310,9 +310,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 12 + probeTimeout: 1000 interval: 12 - retry: 3 + attempt: 3 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -324,9 +324,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 2 components: env: @@ -385,9 +385,9 @@ spec: operation: "present" mode: "Continuous" runProperties: - probeTimeout: 1 + probeTimeout: 1000 interval: 1 - retry: 1 + attempt: 1 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -399,9 +399,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 1 components: env: diff --git a/workflows/sock-shop/workflow_cron.yaml b/workflows/sock-shop/workflow_cron.yaml index a2406d5..02353d7 100644 --- a/workflows/sock-shop/workflow_cron.yaml +++ b/workflows/sock-shop/workflow_cron.yaml @@ -98,9 +98,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -112,9 +112,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 10 components: env: @@ -169,9 +169,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -183,9 +183,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 10 components: env: @@ -241,9 +241,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 12 + probeTimeout: 1000 interval: 12 - retry: 3 + attempt: 3 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -255,9 +255,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 2 components: env: @@ -314,9 +314,9 @@ spec: responseCode: "200" mode: "Continuous" runProperties: - probeTimeout: 12 + probeTimeout: 1000 interval: 12 - retry: 3 + attempt: 3 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -328,9 +328,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 2 components: env: @@ -389,9 +389,9 @@ spec: operation: "present" mode: "Continuous" runProperties: - probeTimeout: 1 + probeTimeout: 1000 interval: 1 - retry: 1 + attempt: 1 probePollingInterval: 1 - name: "check-benchmark" type: "cmdProbe" @@ -403,9 +403,9 @@ spec: value: "100" mode: "Edge" runProperties: - probeTimeout: 2 + probeTimeout: 1000 interval: 1 - retry: 2 + attempt: 2 initialDelaySeconds: 1 components: env: