acrlabs / simkube

Record-and-replay Kubernetes simulator based on KWOK
https://appliedcomputing.io/simkube
MIT License
164 stars 7 forks source link

Run simulations at different speeds #76

Open drmorr0 opened 7 months ago

drmorr0 commented 7 months ago

Description

Right now a simulation run happens "in real time"/"at the same speed as the original trace". It would be useful to be able to run a simulation at a constant-factor speedup (probably based on a CRD/config setting somewhere). There can be some risks/inaccuracies doing this, especially if anything autoscaling is involved, but if you have a four hour trace from an incident you probably don't want to sit around for four hours every time you replay it.

Code hint

Please read Making API changes before making any changes to the CRD spec.