Skip to content

X4BNet/k8s-swap-cgroup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

k8s-swap-cgroup

Simple sidecar to enable swap on container

Configuration:

SWAP_PCT: 0.7 # 70% high water mark

To enable push as priveledged side car with sysfs mount

Sidecar requires:

  • priveledged
  • /sys mount
  • shared process namespace
  • kubetrnetes configured without failOnSwap

Tested with Docker container engine

About

Simple sidecar to enable swap on container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published