fluidos-project / general-activities

Repository for general activities and issues
0 stars 0 forks source link

Cyberdeception Review #12

Open educanovas93 opened 5 months ago

educanovas93 commented 5 months ago

Review the installation information and report any problems you had when deploying the component, also report if there are unit or integration tests, if they are well formed, add screenshots of the deployments and comments about what may be missing.

https://github.com/fluidos-project/cyber-deception

educanovas93 commented 3 months ago

Hi @tok43

Tested with the guide in https://gitlab.fbk.eu/cyber-deception/decepto/-/blob/master/README.org?ref_type=heads

This is the command log we used to test the k8s: decepto-command-log.txt

Having troubles running the Docker directives:

docker run --rm -p 5555:5555 --name decepto -e PORT=5555 -e KUBECONFIG=~/.kube/config -e NAMESPACE=default -e ALGORITHMNAME=silly -e ALGORITHMADDR=127.0.0.1:5000 -e ALGORITHMRESCAP=0.3 -e LOGLEVEL=info gitlab-registry.fbk.eu/cyber-deception/decepto:latest INFO[2024-05-29T07:51:25Z] Loading K8S in-cluster configuration
FATA[2024-05-29T07:51:25Z] Unable to get kubeconfig (unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined)

Perhaps could be good an example of what i have to define in kubeconfig

What I missed:

For example, what I tried:

cd decepto/ cd examples/ cd dummy/ cd a1 kubectl apply -f a1m1.yaml kubectl apply -f a1m1-svc.yaml kubectl get all kubectl edit svc a1m1 kubectl apply -f a1m2.yaml kubectl apply -f a1m2-svc.yaml kubectl apply -f a1m3.yaml kubectl apply -f a1m3-svc.yaml kubectl apply -f appgraph-a1.yaml kubectl edit svc a1m1 cd .. ./test-connections.sh ...

educanovas93 commented 3 months ago

@tok43 Hi Daniele, tell me when you have finished the review comments to close properly the task.

Thank you so much for your help.

tok43 commented 2 months ago

Sure, I will let you know. The plan is to consolidate and renew all the docs in the Decepto ReadTheDocs by the next WP9 call.