test: [skip e2e]add streaming node chaos test (#39674)

/kind improvement

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/39720/head
zhuwenxing 2025-02-08 15:34:43 +08:00 committed by GitHub
parent c13fc8cd19
commit a3df2782d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

View File

@ -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

View File

@ -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