Skip to content

Accuracy-exe/Distributed-Systems-Cluster-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kawaii

Kawaii-Kube :3

A lightweight, simulation-based distributed system that mimics core Kubernetes cluster management functionalities. The system will create a simplified yet comprehensive platform for demonstrating key distributed computing concepts

Frameworks & Libraries

The API-Server uses Flask . Use pip install flask to install it if you haven't already. Streamlit is a UI framework that makes creation of dynamic data apps a breeze ( I say that cuz it's just python >_<, you would still need Widgeting and UI concepts ) Install streamlit with pip install streamlit. On first run, you will be asked to provide an email id to streamlit and then the dev environment is fired up.

Execution

  1. Clone the repository
  2. cd into the Node_simul/ directory and create a docker image from the Dockerfile:
docker build -t node-simulator .

Note that it's necessary for the image to be called node-simulator exactly.

  1. Start the API Server:
python api_server.py
  1. Fire up the Steamlit web app:
streamlit run ./ui.py

Things Kawaii can do...

Currently, Creation of a simple node, with name (id) and nunmber of cores. A table under Node Config section is populated with current nodes. Nodes show their status as green and red dots, similar to docker desktop. Node waits for heartbeat signals from the ACTUAL node... running in docker. UI refreshes every 10 seconds to update status view of a node's record in the table.

About

A lightweight, simulation-based distributed system that mimics core Kubernetes cluster management functionalities. The system will create a simplified yet comprehensive platform for demonstrating key distributed computing concepts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors