-
Notifications
You must be signed in to change notification settings - Fork 3k
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
locust k8s operator #2188
Comments
Sounds like a great thing! If you publish it in your own repo, I’ll happily link it from the documentation, like with the helm stuff. https://docs.locust.io/en/stable/running-in-docker.html |
I see you listed Helm as an alternative, but that doesn't really address other solutions to run distributed load tests such as EDIT: Which I do see you listed as an inspiration. |
Before selecting Locust, we actually did a market study to see which tool would best fit our needs. K6 was on the table and it almost made the cut if i'm being honest. However "and this is a big one", when it came down to distributed performance testing, locust was much better with supporting functionality that come out of the box. k6 "at least at the time of the study" was really focused on single instance tests. |
@cyberw, I'm gonna be working on Open sourcing the project in the coming period. It might take me a minute as i'm doing this alone but should be possible. |
Awesome! |
Hello @cyberw, |
Maybe you can show me what you have right now and we'll have a chat then? My colleague @DennisKrone is looking at running our stuff in k8s right now. At the moment we use locust-swarm (plain servers, no k8s/docker stuff), but he's looking at the helm chart right now, and I think we'd both be interested in seeing what you've done. |
The full docs are still work in progress.. However, i can put together a short "how does it work".md + short demo video. would that be enough to get things started? |
@cyberw , @DennisKrone, I have put together most parts of the essential documentation needed. As i mentioned earlier "One of my aims and goals is to have the operator act & "feel" like a natural extension of locust. So users of the tool can feel right at home". looking forward to hear your take on it. |
Sorry for the delay. I'll take a look! |
Hi @AbdelrhmanHamouda ! This looks amazing! I checked the docs and would like to give it a try. How do I open the UI when a test is running? |
Hello @vitobotta, Thank you for taking interest in the project. Your question have 2 answers one for getting started and another for doing things "properly";
|
@DennisKrone I am planning to push the v1.0.0 release in the near future and I would like to have your insights to consider before pushing that version. @cyberw As i just mentioned, I am planning to push the 1.0.0 in the near future and I would like to add a reference to the operator in the locust documentation. Would this contribution be welcomed? I would like to add that the Operator is been actively and reliably utilised in AWS based k8s cluster/s for over 7 month by this point. |
Hi! @DennisKrone is actively working on adding this to our own workflow, and from what I've heard so far he's happy with it (I'm sure he'll have some feedback too) I would very much welcome adding this to the documentation! |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
locustio#2188 - Update `Running a distributed load test on Kubernetes` docs section to include Locust Kubernetes Operator. - Small reformat of the section to clearly list all possibilities (HELM & Operator) in a structured manner.
docs (#2188): Add Locust Kubernetes Operator
Done! |
Hi for info, I had developed for a project something similar: https://github.com/treussart/locust-operator |
Is your feature request related to a problem? Please describe.
Need for flexible, secure and easy to use distributed performance testing solution while enabling keeping in mind points like; cloud governance, k8s resource management, CI compatibility.
Describe the solution you'd like
A k8s operator
Describe alternatives you've considered
HELM. However, this is not optimal as it requires a lot of manipulation and dealing with a lot of different k8s resource types not to mention lack of governance when deployed in an organisation.
Additional context
In my company, we were interested in cloud based distributed performance testing. We ended up choosing “locust” as a tool and I wrote a kubernetes operator for it. As far as I know and searched, this simply doesn’t exist for locust today.The operator have been running on AWS EKS for months now and it is very stable and performant.
The project was created to provide:
The project was inspired after doing an industry study / survey.
The project was influenced in functionality by the k6 k8s operator.
As the code really doesn't include anything exclusive to the company, Open sourcing it is not a problem and it is something that I would happily do.
What is the "catch"?
The only "catch" is that the project is written in Java. That being said, from a user perspective, the interface purely through k8s and users are not exposed to any java code. This is similar to how k8s and most operators are written in Go but non of k8s users need to know anything about Go.
Looking forward to your feedback.
The text was updated successfully, but these errors were encountered: