-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(exp): Add pod autoscaler experiment used to check the scalability of the application pod #65
chore(exp): Add pod autoscaler experiment used to check the scalability of the application pod #65
Conversation
…y of the application pod Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
…o master-pod-scale-chaos
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
This is a very good feature where we can test node and pod additions. |
So if I understand correct , it will check of a pod has insufficient node and then if it goes to running the test passes for node scaling? |
@saiyam1814 yes! it'll do that on account of two inputs (number of replicas and timeout). |
Great sounds good and I am sure community would really like this feature which is currently not there in any chaos tools |
Chaos Result
Chaos Engine
|
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
…ty of the application pod (litmuschaos#65) * chore(exp): Add pod autoscaler experiment used to check the salability of the application pod Signed-off-by: Udit Gaurav <uditgaurav@gmail.com> * Adding abort in the experiment Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
* chore(probe): Adding probes in all go experiments (#80) Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io> * (fix)resource-chaoslib: run command with a shell instance (#81) Signed-off-by: ksatchit <karthik.s@mayadata.io> * refactor(go-experiments): Refactor all the go experiments (#82) Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io> * chore(exp): Add pod autoscaler experiment used to check the scalability of the application pod (#65) * chore(exp): Add pod autoscaler experiment used to check the salability of the application pod Signed-off-by: Udit Gaurav <uditgaurav@gmail.com> * Adding abort in the experiment Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io> * update(chaosresult): updating the chaosresult for probe score (#85) Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io> * refactor(pod-autoscaler): refactor the pod-scaler experiment (#86) Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io> Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io> Co-authored-by: UDIT GAURAV <35391335+uditgaurav@users.noreply.github.com>
Signed-off-by: Udit Gaurav udit.gaurav@mayadata.io
Issue:
Details:
It has two inputs for this :
Node auto-scaling test:
Now this experiment can be used for different scenarios as well, like for checking the Node auto-scaling feature. If the pods are unable to schedule then the nodes are getting auto-scaled or not.
pod auto-scaling check:
pod auto-scaling: The pod scaling check can be done by noting the amount of time taken by the pods to get scheduled after scaleup. The heavy application may takes larger chaos duration to get scheduled.
Pre-Chaos and Post-Chaos Checks:
Abort:
In case of anything goes wrong and you want to do abort chaos then this experiment supports that it means when we abort the experiment either by running abort command or deleting the experiment in middle, the experiment gets removed and the replica count scale down to original value(before chaos).
Limitations: