A service that loads the CPU or allocates memory on demand, for auto-testing applications that rely on metrics
All interaction goes through the / and /memory endpoints.
The first one loads the CPU, the second one allocates memory.
Example requests
curl -X POST localhost:3000/memory -H "Content-Type: application/json" —data '{"memoryPercent":112500}'
curl -X POST localhost:3000 —header "Content-Type: application/json" —data '{"cpuPercent":1}'
The Helm charts create a Service so that the application pod can reach this service.
A Service Account is required to bind the token.