未验证 提交 0ede8115 编写于 作者: Z zhuwenxing 提交者: GitHub

[skip ci]Update chaos mesh to v2.0.3 (#10225)

Signed-off-by: Nzhuwenxing <wenxing.zhu@zilliz.com>
上级 23ccaade
......@@ -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
......
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
\ No newline at end of file
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
\ No newline at end of file
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
\ No newline at end of file
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
\ No newline at end of file
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
\ No newline at end of file
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
\ No newline at end of file
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
\ No newline at end of file
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
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
\ No newline at end of file
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
\ No newline at end of file
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
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册