mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add network partition chaos for all pods (#8247)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/8255/head
parent
f203f750aa
commit
56b3b2ed92
|
@ -0,0 +1,25 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: NetworkChaos
|
||||
metadata:
|
||||
name: test-datacoord-network-partition
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: partition
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: datacoord
|
||||
mode: one
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: NetworkChaos
|
||||
metadata:
|
||||
name: test-datanode-network-partition
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: partition
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: datanode
|
||||
mode: one
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: NetworkChaos
|
||||
metadata:
|
||||
name: test-etcd-network-partition
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: partition
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: etcd
|
||||
mode: one
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: NetworkChaos
|
||||
metadata:
|
||||
name: test-indexcoord-network-partition
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: partition
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: indexcoord
|
||||
mode: one
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: NetworkChaos
|
||||
metadata:
|
||||
name: test-indexnode-network-partition
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: partition
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: indexnode
|
||||
mode: one
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: NetworkChaos
|
||||
metadata:
|
||||
name: test-minio-network-partition
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: partition
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
release: milvus-chaos
|
||||
app: minio
|
||||
|
||||
mode: one
|
|
@ -10,7 +10,7 @@ spec:
|
|||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-milvus
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
|
@ -19,7 +19,7 @@ spec:
|
|||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-milvus
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: proxy
|
||||
mode: one
|
||||
|
|
|
@ -10,7 +10,7 @@ spec:
|
|||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
|
@ -19,7 +19,7 @@ spec:
|
|||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: pulsar
|
||||
mode: one
|
||||
mode: one
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: NetworkChaos
|
||||
metadata:
|
||||
name: test-querycoord-network-partition
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: partition
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: etcd
|
||||
duration: 5m
|
||||
direction: both
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: querycoord
|
||||
mode: one
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: NetworkChaos
|
||||
metadata:
|
||||
name: test-querynode-network-partition
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: partition
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: querynode
|
||||
mode: one
|
|
@ -10,7 +10,7 @@ spec:
|
|||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
duration: 5m
|
||||
direction: both
|
||||
|
@ -19,7 +19,7 @@ spec:
|
|||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
app.kubernetes.io/instance: chaos-testing
|
||||
app.kubernetes.io/name: milvus
|
||||
component: rootcoord
|
||||
mode: one
|
||||
|
|
Loading…
Reference in New Issue