mirror of https://github.com/milvus-io/milvus.git
[skip ci]Update folder structure of chaos_objects (#9958)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/9976/head
parent
3f713a1104
commit
dbc7ae4f55
|
@ -1,15 +0,0 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-standalone-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
app.kubernetes.io/name: milvus
|
||||
component: standalone
|
|
@ -0,0 +1,32 @@
|
|||
# Testcases All-in-one
|
||||
# pod kill
|
||||
# standalone
|
||||
# 3 pods(standalone-ha-blabla, etcd, minio)
|
||||
# cluster-1-node
|
||||
# 11 pods(proxy, rootcoord, querynode, querycoord, datanode, datacoord,
|
||||
# indexnode, indexcoord, pulsar, etcd, minio)
|
||||
# cluster-n-nodes
|
||||
# 11 pods* n: kill one and kill all
|
||||
|
||||
Collections:
|
||||
-
|
||||
testcase:
|
||||
name: test_datanode_container_kill
|
||||
chaos: chaos_datanode_container_kill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
insert: succ
|
||||
flush: fail
|
||||
cluster_n_nodes:
|
||||
insert: degrade
|
||||
|
||||
-
|
||||
testcase:
|
||||
name: test_standalone_container_kill
|
||||
chaos: chaos_standalone_container_kill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
insert: succ
|
||||
flush: fail
|
||||
cluster_n_nodes:
|
||||
insert: degrade
|
|
@ -0,0 +1,17 @@
|
|||
kind: StressChaos
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
metadata:
|
||||
name: test-pod-memory-stress
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
component: querynode
|
||||
mode: one
|
||||
stressors:
|
||||
memory:
|
||||
workers: 4
|
||||
size: 1000MB
|
|
@ -0,0 +1,22 @@
|
|||
# Testcases All-in-one
|
||||
# pod kill
|
||||
# standalone
|
||||
# 3 pods(standalone-ha-blabla, etcd, minio)
|
||||
# cluster-1-node
|
||||
# 11 pods(proxy, rootcoord, querynode, querycoord, datanode, datacoord,
|
||||
# indexnode, indexcoord, pulsar, etcd, minio)
|
||||
# cluster-n-nodes
|
||||
# 11 pods* n: kill one and kill all
|
||||
|
||||
Collections:
|
||||
-
|
||||
testcase:
|
||||
name: test_querynode_memory_stress
|
||||
chaos: chaos_querynode_memory_stress.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
search: fail
|
||||
query: fail
|
||||
cluster_n_nodes:
|
||||
search: degrade
|
||||
query: degrade
|
|
@ -0,0 +1,146 @@
|
|||
# Testcases All-in-one
|
||||
# pod kill
|
||||
# standalone
|
||||
# 3 pods(standalone-ha-blabla, etcd, minio)
|
||||
# cluster-1-node
|
||||
# 11 pods(proxy, rootcoord, querynode, querycoord, datanode, datacoord,
|
||||
# indexnode, indexcoord, pulsar, etcd, minio)
|
||||
# cluster-n-nodes
|
||||
# 11 pods* n: kill one and kill all
|
||||
|
||||
Collections:
|
||||
-
|
||||
testcase:
|
||||
name: test_proxy_network_partition
|
||||
chaos: chaos_proxy_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_rootcoord_network_partition
|
||||
chaos: chaos_rootcoord_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_pulsar_network_partition
|
||||
chaos: chaos_pulsar_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_datacoord_network_partition
|
||||
chaos: chaos_datacoord_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_datanode_network_partition
|
||||
chaos: chaos_datanode_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_indexcoord_network_partition
|
||||
chaos: chaos_indexcoord_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
|
||||
-
|
||||
testcase:
|
||||
name: test_indexnode_network_partition
|
||||
chaos: chaos_indexnode_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
|
||||
-
|
||||
testcase:
|
||||
name: test_querycoord_network_partition
|
||||
chaos: chaos_querycoord_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
|
||||
-
|
||||
testcase:
|
||||
name: test_querynode_network_partition
|
||||
chaos: chaos_querynode_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_etcd_network_partition
|
||||
chaos: chaos_etcd_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_minio_network_partition
|
||||
chaos: chaos_minio_network_partition.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
|
@ -0,0 +1,135 @@
|
|||
# Testcases All-in-one
|
||||
# pod kill
|
||||
# standalone
|
||||
# 3 pods(standalone-ha-blabla, etcd, minio)
|
||||
# cluster-1-node
|
||||
# 11 pods(proxy, rootcoord, querynode, querycoord, datanode, datacoord,
|
||||
# indexnode, indexcoord, pulsar, etcd, minio)
|
||||
# cluster-n-nodes
|
||||
# 11 pods* n: kill one and kill all
|
||||
|
||||
Collections:
|
||||
-
|
||||
testcase:
|
||||
name: test_querynode_podkill
|
||||
chaos: chaos_querynode_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
search: fail
|
||||
query: fail
|
||||
cluster_n_nodes:
|
||||
search: degrade
|
||||
query: degrade
|
||||
-
|
||||
testcase:
|
||||
name: test_querycoord_podkill
|
||||
chaos: chaos_querycoord_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
search: fail
|
||||
query: fail
|
||||
cluster_n_nodes:
|
||||
search: degrade
|
||||
query: degrade
|
||||
-
|
||||
testcase:
|
||||
name: test_datanode_podkill
|
||||
chaos: chaos_datanode_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
insert: succ
|
||||
flush: fail
|
||||
cluster_n_nodes:
|
||||
insert: degrade
|
||||
-
|
||||
testcase:
|
||||
name: test_datascoord_podkill
|
||||
chaos: chaos_datacoord_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
insert: succ
|
||||
flush: fail
|
||||
cluster_n_nodes:
|
||||
insert: degrade
|
||||
-
|
||||
testcase:
|
||||
name: test_indexnode_podkill
|
||||
chaos: chaos_indexnode_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
index: fail
|
||||
cluster_n_nodes:
|
||||
index: degrade
|
||||
-
|
||||
testcase:
|
||||
name: test_indexcoord_podkill
|
||||
chaos: chaos_indexcoord_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
index: fail
|
||||
cluster_n_nodes:
|
||||
insert: degrade
|
||||
-
|
||||
testcase:
|
||||
name: test_proxy_podkill
|
||||
chaos: chaos_proxy_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
cluster_n_nodes:
|
||||
insert: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_rootcoord_podkill
|
||||
chaos: chaos_rootcoord_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
cluster_n_nodes:
|
||||
insert: degrade
|
||||
-
|
||||
testcase:
|
||||
name: test_etcd_podkill
|
||||
chaos: chaos_etcd_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_minio_podkill
|
||||
chaos: chaos_minio_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
||||
-
|
||||
testcase:
|
||||
name: test_pulsar_podkill
|
||||
chaos: chaos_pulsar_podkill.yaml
|
||||
expectation:
|
||||
cluster_1_node:
|
||||
create: fail
|
||||
insert: fail
|
||||
flush: fail
|
||||
index: fail
|
||||
search: fail
|
||||
query: fail
|
Loading…
Reference in New Issue