Setup
-
Install and run Kubernetes
- install minikube or any alternative (k3s, kind, etc..)
- after succesful installation:
- run
minikube start
- run
eval $(minikube -p minikube docker-env)
- run
-
clone forked fossology repo https://github.com/OmarAbdelSamea/fossology
-
checkout to OmarAbdelSamea/GSoC/Microservices branch
-
Add all images to your machine
- Option 1 (Suggested for testing)
- Download
fossology_images.tar
from here - run
docker load -i fossology_images.tar
- Download
- Option 2
cd Docker
- Build all docker images. the list of all docker images will be found in Docker Images wiki page
cd ..
- Option 1 (Suggested for testing)
-
run
kubectl apply -f k8s/
-
got to UI
- if you are using minikube run
minikube service web
and the UI will be opened in the default browser
- if you are using minikube run
-
to delete an agent from the cluster run
bash k8s/fo_delete.sh -a <agent-name>