From ef5be125046940deb5627f2a0c1ac39d123856d8 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Wed, 22 Dec 2021 19:39:12 +0800 Subject: [PATCH] [skip e2e]Update chaos yaml for pod failure (#13997) Signed-off-by: zhuwenxing --- .../chaos_objects/pod_failure/chaos_datanode_pod_failure.yaml | 3 ++- .../chaos_objects/pod_failure/chaos_indexnode_pod_failure.yaml | 3 ++- .../chaos_objects/pod_failure/chaos_proxy_pod_failure.yaml | 3 ++- .../chaos_objects/pod_failure/chaos_querynode_pod_failure.yaml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/python_client/chaos/chaos_objects/pod_failure/chaos_datanode_pod_failure.yaml b/tests/python_client/chaos/chaos_objects/pod_failure/chaos_datanode_pod_failure.yaml index 9ab5aaf8e..767f48ac7 100644 --- a/tests/python_client/chaos/chaos_objects/pod_failure/chaos_datanode_pod_failure.yaml +++ b/tests/python_client/chaos/chaos_objects/pod_failure/chaos_datanode_pod_failure.yaml @@ -10,7 +10,8 @@ spec: labelSelectors: app.kubernetes.io/instance: milvus-chaos component: datanode - mode: one + mode: fixed + value: "1" action: pod-failure duration: 2m gracePeriod: 0 diff --git a/tests/python_client/chaos/chaos_objects/pod_failure/chaos_indexnode_pod_failure.yaml b/tests/python_client/chaos/chaos_objects/pod_failure/chaos_indexnode_pod_failure.yaml index 68a60c163..647596dae 100644 --- a/tests/python_client/chaos/chaos_objects/pod_failure/chaos_indexnode_pod_failure.yaml +++ b/tests/python_client/chaos/chaos_objects/pod_failure/chaos_indexnode_pod_failure.yaml @@ -10,7 +10,8 @@ spec: labelSelectors: app.kubernetes.io/instance: milvus-chaos component: indexnode - mode: one + mode: fixed + value: "1" action: pod-failure duration: 2m gracePeriod: 0 diff --git a/tests/python_client/chaos/chaos_objects/pod_failure/chaos_proxy_pod_failure.yaml b/tests/python_client/chaos/chaos_objects/pod_failure/chaos_proxy_pod_failure.yaml index 2bf5d22ef..1860d454c 100644 --- a/tests/python_client/chaos/chaos_objects/pod_failure/chaos_proxy_pod_failure.yaml +++ b/tests/python_client/chaos/chaos_objects/pod_failure/chaos_proxy_pod_failure.yaml @@ -10,7 +10,8 @@ spec: labelSelectors: app.kubernetes.io/instance: milvus-chaos component: proxy - mode: one + mode: fixed + value: "1" action: pod-failure duration: 2m gracePeriod: 0 \ No newline at end of file diff --git a/tests/python_client/chaos/chaos_objects/pod_failure/chaos_querynode_pod_failure.yaml b/tests/python_client/chaos/chaos_objects/pod_failure/chaos_querynode_pod_failure.yaml index cbe75bbc7..f8346b5f3 100644 --- a/tests/python_client/chaos/chaos_objects/pod_failure/chaos_querynode_pod_failure.yaml +++ b/tests/python_client/chaos/chaos_objects/pod_failure/chaos_querynode_pod_failure.yaml @@ -10,7 +10,8 @@ spec: labelSelectors: app.kubernetes.io/instance: milvus-chaos component: querynode - mode: one + mode: fixed + value: "1" action: pod-failure duration: 2m gracePeriod: 0 \ No newline at end of file -- GitLab