Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
eval $(minikube docker-env)

cd nonrtric/test/usecases/oruclosedlooprecovery/scriptversion/app
docker build -t oru-app .

cd nonrtric/test/usecases/oruclosedlooprecovery/scriptversion/simulators
docker build -f Dockerfile-sdnr-sim -t sdnr-simulator .

docker build -f Dockerfile-message-generator -t message-generator:v2 .

cd nonrtric/test/mrstub/
docker build -t mrstub .

docker images

Make sure that all four docker images have been successfully created by running the "docker images" command.


  • Next step is to prepare the kube config file of minikube for mounting it inside the k8s-participant component of policy/clamp. First of all, copy the kube config file inside the config directory used by docker-compose file that runs k8s-participant.

...

  1. replace everything under "cluster" with these two lines:

        server: https://host.docker.internal:<PORT>

        insecure-skip-tls-verify: true

  2. replace <PORT> with the port in original kube-config file before editing (i.e., before doing the above step)
  3. replace last two lines in the file with:

...