Created
July 30, 2020 20:00
-
-
Save vandot/402df53ce5a29377ed3955e4f1120390 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: pingcap.com/v1alpha1 | |
kind: NetworkChaos | |
metadata: | |
name: network-partition-example | |
namespace: vandot | |
spec: | |
action: partition | |
mode: one | |
duration: "59s" | |
selector: | |
labelSelectors: | |
"statefulset.kubernetes.io/pod-name": "bee-7" | |
direction: both | |
target: | |
selector: | |
labelSelector: | |
"app.kubernetes.io/name": "bee" | |
mode: all | |
scheduler: | |
cron: "@every 1m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment