mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-09 23:40:06 +08:00
eff75c7701
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
simple_chaos:
|
|
collections:
|
|
-
|
|
milvus: null
|
|
before:
|
|
-
|
|
interface_name: create_collection
|
|
params:
|
|
data_type: local
|
|
dimension: 128
|
|
-
|
|
interface_name: insert
|
|
params:
|
|
batch_size: 5000
|
|
collection_size: 1000000
|
|
# - interface_name: create_index
|
|
# params:
|
|
# metric_type: l2
|
|
# index_type: ivf_flat
|
|
# index_param:
|
|
# nlist: 16384
|
|
processing:
|
|
interface_name: create_index
|
|
params:
|
|
field_name: float_vector
|
|
metric_type: l2
|
|
index_type: ivf_flat
|
|
index_param:
|
|
nlist: 16384
|
|
chaos:
|
|
kind: PodChaos
|
|
spec:
|
|
action: pod-kill
|
|
selector:
|
|
labelSelectors:
|
|
"statefulset.kubernetes.io/pod-name": etcd
|
|
scheduler:
|
|
cron: "@every 60s"
|
|
assertion: fail
|
|
after:
|
|
interface_name: describe_index
|
|
params:
|
|
field_name: float_vector
|
|
assertion: pass |