Skip to content

It uses up memory so we can test OOMkills in kubernetes

Notifications You must be signed in to change notification settings

tonydiethelm/memoryUser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This app burns memory.

It runs on port 3002. Send a post to [address]/ with an amount of memory in Mb. IE: POST to /300 and it should use up 300Mb of memory.

This was built to test alerts on containerized systems.

For example, if memory was limited to 500Mb in a Kubernetes pod, putting this in the pod and sending a POST to [address]:3002/600 should force an OOMKill.

It will need to be containerized per your standard process and deployed.

Or, you can pull from my Google Container Registery at gcr.io/my-kubernetes-project-365523/memoryuser:latest

-Tony Diethelm Github LinkedIn

About

It uses up memory so we can test OOMkills in kubernetes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published