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 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
|
||||||
|
|
||||||
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user