mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
[skip ci]Update chaos mesh to v2.0.3 (#10225)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
23ccaadea4
commit
0ede8115e8
2
.github/workflows/pod-kill-chaos-test.yaml
vendored
2
.github/workflows/pod-kill-chaos-test.yaml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
helm repo add chaos-mesh https://charts.chaos-mesh.org
|
||||
helm search repo chaos-mesh
|
||||
kubectl create ns chaos-testing
|
||||
helm install chaos-mesh chaos-mesh/chaos-mesh --namespace=chaos-testing --version v0.5.3 --set chaosDaemon.runtime=containerd --set chaosDaemon.socketPath=/run/containerd/containerd.sock
|
||||
helm install chaos-mesh chaos-mesh/chaos-mesh --namespace=chaos-testing --version v2.0.3 --set chaosDaemon.runtime=containerd --set chaosDaemon.socketPath=/run/containerd/containerd.sock
|
||||
sleep 60s
|
||||
kubectl get po -n chaos-testing
|
||||
|
||||
|
@ -1,17 +1,23 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-datacoord-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
schedule: '*/5 * * * * *'
|
||||
startingDeadlineSeconds: 60
|
||||
concurrencyPolicy: Forbid
|
||||
historyLimit: 1
|
||||
type: PodChaos
|
||||
podChaos:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
labelSelectors:
|
||||
app.kubernetes.io/instance: milvus-chaos
|
||||
app.kubernetes.io/name: milvus
|
||||
component: datacoord
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,17 +1,22 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-datanode-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
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: datanode
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,16 +1,21 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-etcd-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
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: etcd
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,17 +1,22 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-indexcoord-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
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: indexcoord
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,17 +1,22 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-indexnode-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
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: indexnode
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,16 +1,21 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-minio-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
schedule: '*/5 * * * * *'
|
||||
startingDeadlineSeconds: 60
|
||||
concurrencyPolicy: Forbid
|
||||
historyLimit: 1
|
||||
type: PodChaos
|
||||
podChaos:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
release: milvus-chaos
|
||||
app: minio
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
app: minio
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,17 +1,22 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-proxy-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
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: proxy
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,16 +1,22 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-proxy-podkill
|
||||
name: test-pulsar-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: all
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
schedule: '*/5 * * * * *'
|
||||
startingDeadlineSeconds: 60
|
||||
concurrencyPolicy: Forbid
|
||||
historyLimit: 1
|
||||
type: PodChaos
|
||||
podChaos:
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing
|
||||
labelSelectors:
|
||||
release: chaos-testing
|
||||
release: milvus-chaos
|
||||
app: pulsar
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
||||
|
||||
|
@ -1,17 +1,22 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-querycoord-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
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: querycoord
|
||||
scheduler:
|
||||
cron: '@every 15s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,17 +1,24 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-querynode-podkill
|
||||
namespace: chaos-testing
|
||||
annotations:
|
||||
experiment.chaos-mesh.org/pause: 'false'
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
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: querynode
|
||||
scheduler:
|
||||
cron: '@every 15s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
@ -1,17 +1,22 @@
|
||||
kind: Schedule
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: PodChaos
|
||||
metadata:
|
||||
name: test-rootcoord-podkill
|
||||
namespace: chaos-testing
|
||||
spec:
|
||||
action: pod-kill
|
||||
mode: one
|
||||
selector:
|
||||
namespaces:
|
||||
- chaos-testing # target namespace of milvus deployment
|
||||
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: rootcoord
|
||||
scheduler:
|
||||
cron: '@every 5s'
|
||||
mode: one
|
||||
action: pod-kill
|
||||
gracePeriod: 0
|
Loading…
Reference in New Issue
Block a user