Add proxy pod network partition (#7981)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing 2021-09-15 17:27:49 +08:00 committed by GitHub
parent 0166f7be12
commit 900f2d7341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,27 @@
apiVersion: chaos-mesh.org/v1alpha1
kind: NetworkChaos
metadata:
name: test-proxy-partition
namespace: chaos-testing
spec:
action: partition
mode: all
selector:
namespaces:
- chaos-testing
labelSelectors:
app.kubernetes.io/instance: chaos-milvus
app.kubernetes.io/name: milvus
duration: 5m
scheduler:
cron: '@every 5s'
direction: both
target:
selector:
namespaces:
- chaos-testing
labelSelectors:
app.kubernetes.io/instance: chaos-milvus
app.kubernetes.io/name: milvus
component: proxy
mode: one