Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.48 KB

File metadata and controls

39 lines (25 loc) · 1.48 KB

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.