Skip to content

A small project to show how to manipulate docker non functionnal properties at runtime

Notifications You must be signed in to change notification settings

ahervieu/docker-reasonning-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker container reasonning engine

This project contains all the information to deploy a stack for monitoring and driving non functional properties of docker containers.

Warning : the following source code is a POC. It's a prototype that has been written quickly.

Description :

This project relies on the following project :

Connecting to influx db :

For additional information please refer to : https://github.com/tutumcloud/tutum-docker-influxdb

Connecting to cadvisor:

Connecting to grafana:

For additional information please refer to : https://github.com/tutumcloud/tutum-docker-grafana

Getting started :

Requirements :

  • docker
  • docker rest sever
  • fig
  • maven
  • java
  • git

The following lines will download source code and deploy containers.

git clone https://github.com/ahervieu/docker-manager.git
cd docker-manager
sudo fig up

Start a toy container :

 sudo docker run --cap-add=NET_ADMIN -ti --cpuset=0 ahervieu/stress_diverse

Run the application

mvn exec:java -Dexec.mainClas"org.diverse.docker.reasoning.ReasoningEngine"

or in your favorite ide.

Then in toy container run the following command :

stress --cpu 2

And observe results.

About

A small project to show how to manipulate docker non functionnal properties at runtime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages