Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 468 Bytes

File metadata and controls

23 lines (13 loc) · 468 Bytes

python version: 3.12

docker network create k8s-sim-net

docker build -f Dockerfile.node -t node-image .

docker build -f Dockerfile.api -t api-server-image .

docker run -d -p 5000:5000 --network k8s-sim-net -v /var/run/docker.sock:/var/run/docker.sock --name api-server api-server-image

CLI interaction: 

python cli.py add_node --cpu_cores 4

python cli.py launch_pod --cpu_cores 2

python cli.py list_nodes

Streamlit frontend:

streamlit run frontend.py