[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 repo add chaos-mesh https://charts.chaos-mesh.org
helm search repo chaos-mesh helm search repo chaos-mesh
kubectl create ns chaos-testing 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 sleep 60s
kubectl get po -n chaos-testing kubectl get po -n chaos-testing

View File

@ -1,17 +1,23 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-datacoord-podkill name: test-datacoord-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: one startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors:
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: milvus app.kubernetes.io/name: milvus
component: datacoord component: datacoord
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0

View File

@ -1,17 +1,22 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-datanode-podkill name: test-datanode-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: one startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: milvus app.kubernetes.io/name: milvus
component: datanode component: datanode
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0

View File

@ -1,16 +1,21 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-etcd-podkill name: test-etcd-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: all startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: etcd app.kubernetes.io/name: etcd
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0

View File

@ -1,17 +1,22 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-indexcoord-podkill name: test-indexcoord-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: one startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: milvus app.kubernetes.io/name: milvus
component: indexcoord component: indexcoord
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0

View File

@ -1,17 +1,22 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-indexnode-podkill name: test-indexnode-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: one startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: milvus app.kubernetes.io/name: milvus
component: indexnode component: indexnode
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0

View File

@ -1,16 +1,21 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-minio-podkill name: test-minio-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: all startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
release: milvus-chaos release: milvus-chaos
app: minio app: minio
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0

View File

@ -1,17 +1,22 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-proxy-podkill name: test-proxy-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: one startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: milvus app.kubernetes.io/name: milvus
component: proxy component: proxy
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0

View File

@ -1,16 +1,22 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-proxy-podkill name: test-pulsar-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: all startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
release: chaos-testing release: milvus-chaos
app: pulsar app: pulsar
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0

View File

@ -1,17 +1,22 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-querycoord-podkill name: test-querycoord-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: one startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: milvus app.kubernetes.io/name: milvus
component: querycoord component: querycoord
scheduler: mode: one
cron: '@every 15s' action: pod-kill
gracePeriod: 0

View File

@ -1,17 +1,24 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-querynode-podkill name: test-querynode-podkill
namespace: chaos-testing namespace: chaos-testing
annotations:
experiment.chaos-mesh.org/pause: 'false'
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: one startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: milvus app.kubernetes.io/name: milvus
component: querynode component: querynode
scheduler: mode: one
cron: '@every 15s' action: pod-kill
gracePeriod: 0

View File

@ -1,17 +1,22 @@
kind: Schedule
apiVersion: chaos-mesh.org/v1alpha1 apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata: metadata:
name: test-rootcoord-podkill name: test-rootcoord-podkill
namespace: chaos-testing namespace: chaos-testing
spec: spec:
action: pod-kill schedule: '*/5 * * * * *'
mode: one startingDeadlineSeconds: 60
selector: concurrencyPolicy: Forbid
namespaces: historyLimit: 1
- chaos-testing # target namespace of milvus deployment type: PodChaos
podChaos:
selector:
namespaces:
- chaos-testing
labelSelectors: labelSelectors:
app.kubernetes.io/instance: milvus-chaos app.kubernetes.io/instance: milvus-chaos
app.kubernetes.io/name: milvus app.kubernetes.io/name: milvus
component: rootcoord component: rootcoord
scheduler: mode: one
cron: '@every 5s' action: pod-kill
gracePeriod: 0