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

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing 2021-10-19 21:12:36 +08:00 committed by GitHub
parent 23ccaadea4
commit 0ede8115e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 151 additions and 92 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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