Skip to content

Commit

Permalink
feat: add new job push cluster restart experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
npepinpe committed Dec 11, 2023
1 parent d55d6fa commit e6ab7d8
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"version": "0.1.0",
"title": "Job push cluster restart experiment",
"description": "Job workers with streaming enabled should be fault-tolerant. The worker should receive and complete jobs even if all brokers restart.",
"contributions": {
"performance": "high",
"reliability": "high",
"availability": "high"
},
"steady-state-hypothesis": {
"title": "Zeebe is alive",
"probes": [
{
"name": "All pods should be ready",
"type": "probe",
"tolerance": 0,
"provider": {
"type": "process",
"path": "zbchaos",
"arguments": ["verify", "readiness"],
"timeout": 900
}
},
{
"name": "Can deploy process model",
"type": "probe",
"tolerance": 0,
"provider": {
"type": "process",
"path": "zbchaos",
"arguments": ["deploy", "process"],
"timeout": 900
}
},
{
"name": "Can deploy workers",
"type": "probe",
"tolerance": 0,
"provider": {
"type": "process",
"path": "zbchaos",
"arguments": ["deploy", "worker", "--pollingDelay", "86400000"],
"timeout": 900
},
"pauses": {
"after": 5
}
},
{
"name": "Should be able to create process instances",
"type": "probe",
"tolerance": 0,
"provider": {
"type": "process",
"path": "zbchaos",
"arguments": ["verify", "instance-creation", "--awaitResult"],
"timeout": 900
}
}
]
},
"method": [
{
"name": "Restart all brokers",
"type": "probe",
"tolerance": 0,
"provider": {
"type": "process",
"path": "zbchaos",
"arguments": ["restart", "broker", "--all"],
"timeout": 900
}
}
],
"rollbacks": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ experiments:
clusterPlans:
- production-s
minVersion: 8.4
- path: job-push/cluster-restart.json
clusterPlans:
- production-s
minVersion: 8.4
- path: worker-resilience/gateway-restart.json
clusterPlans:
- production-s
Expand Down

0 comments on commit e6ab7d8

Please sign in to comment.