0 9 * * 1-5
and end schedule as 0 21 * * 1-5
.I want to scale up my services every Monday morning at 9Am and shut them down at Friday 6 PM. Can you provide me the start and ending cron expressions?The LLM should respond back with Start: 0 9 * * 1 and End: 0 18 * * 5
Install Locust
Write the Locust File
/path/to/your/endpoint
in the code above.Run the Locust File locally
https://service-name.example.com/
in the example above.Send requests to the service to benchmark
Deploy the locust service on Truefoundry
locust_service
).locust_benchmark.py
(shown above)requirements.txt
New Deployment
button on top right of your screen.Code from Laptop
Next
locust-service
, choose Python Code (I don't have Dockerfile)
option and set the command as locust -f locust_benchmark.py
.Benchmark your service to get the autoscaling metric value