silenteh / gantryos Goto Github PK
View Code? Open in Web Editor NEWGantryOS: distributed systems kernel
GantryOS: distributed systems kernel
The master needs to keep a map of all the slave connections and it needs to be able to write to them back in order to start tasks.
Also it needs to make sure it removes the connections with the slaves which are no longer valid from the map.
We need extensive tests and integration tests for this
Track events of docker container
https://docs.docker.com/reference/api/docker_remote_api_v1.17/#monitor-dockers-events
Although configurable from the config, the master should run the syslog server, so we lower the entry barriers for users.
We pre-configure it
It would be really great if we could add XEN to gantry so users can spin up VMs
We need to read the logs of each container and send them either to a syslog server or to gantryos logs
We need to test that the config and host config are filled in correctly
Leveldb seems to be a good choice
In case a container died we need to clean them up with the command:
docker rm $(docker ps -aq)
When the container starts check if the health check passes if not send a signal and take down the container.
If not health check is specified then skip the health check
We need to know if we can embed them in a closed source software, or if we need to open source it
We need to store somewhere a correlation between container id, container name (which can be passed by the user) and the app name and version that the container belongs to
We need a UI interface to execute the main tasks
Allow a slave to be put in maintenance mode.
This means that all tasks are relocated somewhere else because the slave needs to be decomisioned or serviced
We need to add them to the config so that cgroups can assign specific amout of cpu and ram
We need to be able to add an application which consists of one or more tasks
In addition we need to add the deployment concept
We need to find a way to replicate the application status from the master0 to the other standby masters.
This is helpful also in case the master need to be serviced or upgraded
We need a rest interface foe gantry os.
The rest interface will be used also from the UI
We need to be able to act on the switch data path (flow) to block specific stuff or to add specific flows
We need to be able to create a switch (bridge) and to add additional stuff like QoS and VLANs and GRE
There is the possibility of completely remove the data when the container is stopped
We need to write consistent status messages.
At the moment I have this mess:
Starting new container with image: google/golang-hello
Pulling the image google/golang-hello
create
start
Container from image google/golang-hello started successfully
Container id5224e3767ce905a2d474da4c67e7accc5f93e4163769ac0917c4dc2a05aacb00 RUNNING
die
stop
allow each container to be discovered via etcd and consul
It would be really great if we could add KVM to gantry so users can spin up VMs
Apps should be load balanced by HAProxy which receives events from the master about the deployed app
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.