Skip to content

About

Testing application for loading cpu and memory inside kubernetes/os cluster

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Allocate memory; each memoryPercent unit is ~2350

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.

About

Testing application for loading cpu and memory inside kubernetes/os cluster

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages