You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3a96ec0527 | 4 years ago | |
---|---|---|
docker_image_ex | 4 years ago | |
kuard | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago |
README.md
Kubernetes up and Running
Demo app
https://github.com/kubernetes-up-and-running/kuard
Here is an example of using the cgroups access to limit container resources to 200mb of ram and 1G of swap. If these resources are exceed, which you can test with the kuard application, the container will be terminated.
docker run -d --name kuard -p 8080:8080 --memory 200m --memory-swap 1G docker1.runcible.io:5151/kuard:latest
If we wanted to limit cpu you could use
docker run -d --name kuard -p 8080:8080 --memory 200m --memory-swap 1G --cpu-shares 1024 docker1.runcible.io:5151/kuard:latest