mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add mixcoord component for chaos test (#18712)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com> Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/18715/head
parent
b62cb82ebe
commit
29b3c35b9e
|
@ -0,0 +1,17 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-mixcoord-pod-failure
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
app.kubernetes.io/component: mixcoord
|
||||
mode: fixed
|
||||
value: "1"
|
||||
action: pod-failure
|
||||
duration: 2m
|
||||
gracePeriod: 0
|
|
@ -0,0 +1,23 @@
|
|||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
metadata:
|
||||
name: test-mixcoord-pod-kill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
schedule: '*/5 * * * * *'
|
||||
startingDeadlineSeconds: 60
|
||||
concurrencyPolicy: Forbid
|
||||
historyLimit: 1
|
||||
type: PodChaos
|
||||
podChaos:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
app.kubernetes.io/name: milvus
|
||||
app.kubernetes.io/component: mixcoord
|
||||
mode: fixed
|
||||
value: "1"
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
Loading…
Reference in New Issue