Skip to content

Commit

Permalink
feat: migrate deployment-distribution experiment
Browse files Browse the repository at this point in the history
Migrate the Deployment distribution experiment, as first experiment, to zbchaos.

Experiment was executed and verified via the integration test against a self-managed cluster.
  • Loading branch information
ChrisKujawa committed Dec 6, 2022
1 parent efe9a9e commit 1bb00fe
Showing 1 changed file with 18 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,57 +15,42 @@
"tolerance": 0,
"provider": {
"type": "process",
"path": "verify-readiness.sh",
"path": "zbchaos",
"arguments": ["verify", "readiness"],
"timeout": 900
}
}
]
},
"method": [
{
"type": "action",
"name": "Enable net_admin capabilities",
"provider": {
"type": "process",
"path": "apply_net_admin.sh"
},
"pauses": {
"after": 180
}
},
{
"name": "All pods should be ready",
"type": "probe",
"tolerance": 0,
"provider": {
"type": "process",
"path": "verify-readiness.sh",
"timeout": 900
}
},
{
"type": "action",
"name": "Create network partition between leaders",
"provider": {
"type": "process",
"path": "disconnect-leaders-one-way.sh"
"path": "zbchaos",
"arguments": ["disconnect", "brokers", "--broker1PartitionId", "1", "--broker2PartitionId", "3", "--one-direction"],
"timeout": 900
}
},
{
"type": "action",
"name": "Deploy different deployment versions.",
"provider": {
"type": "process",
"path": "deploy-different-versions.sh",
"arguments": ["Follower", "3"]
"path": "zbchaos",
"arguments": ["deploy", "process", "--multipleVersions", "10"],
"timeout": 900
}
},
{
"type": "action",
"name": "Delete network partition",
"name": "Connect leaders again",
"provider": {
"type": "process",
"path": "connect-leaders.sh"
"path": "zbchaos",
"arguments": ["connect", "brokers"],
"timeout": 900
}
},
{
Expand All @@ -74,8 +59,8 @@
"tolerance": 0,
"provider": {
"type": "process",
"path": "start-instance-on-partition-with-version.sh",
"arguments": ["1", "10"],
"path": "zbchaos",
"arguments": ["verify", "instance-creation", "--bpmnProcessId", "multiVersion", "--version", "10", "--partitionId", "1"],
"timeout": 900
}
},
Expand All @@ -85,8 +70,8 @@
"tolerance": 0,
"provider": {
"type": "process",
"path": "start-instance-on-partition-with-version.sh",
"arguments": ["2", "10"],
"path": "zbchaos",
"arguments": ["verify", "instance-creation", "--bpmnProcessId", "multiVersion", "--version", "10", "--partitionId", "2"],
"timeout": 900
}
},
Expand All @@ -96,8 +81,8 @@
"tolerance": 0,
"provider": {
"type": "process",
"path": "start-instance-on-partition-with-version.sh",
"arguments": ["3", "10"],
"path": "zbchaos",
"arguments": ["verify", "instance-creation", "--bpmnProcessId", "multiVersion", "--version", "10", "--partitionId", "3"],
"timeout": 900
}
}
Expand Down

0 comments on commit 1bb00fe

Please sign in to comment.