mirror of https://github.com/milvus-io/milvus.git
test: [skip e2e]add streaming node chaos test (#39674)
/kind improvement Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/39720/head
parent
c13fc8cd19
commit
a3df2782d6
|
@ -0,0 +1,17 @@
|
|||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-streamingnode-pod-failure
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
component: streamingnode
|
||||
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-streamingnode-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
|
||||
component: streamingnode
|
||||
mode: fixed
|
||||
value: "1"
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
Loading…
Reference in New Issue