To use this project you need ...
Docker
Kubernetes (kubectl)
Helm
kubectl node-shell
- Build the docker images and push them into your docker registry.
- Update the kubernetes yaml files to match with your docker images.
backend/Dockerfile -> kubernetes/backend/backend.yaml (line 22 "image: <yourBackendImage>")
frontend/Dockerfile -> kubernetes/frontend/frontend.yaml (line 22 "image: <yourFrontendImage>")
recorder/Dockerfile -> kubernetes/recorder/recorder.yaml (line 18 "image: <yourRecorderImage>")
We provide a script that does the installation fully automatically. To use it ...
- Give all the "*.sh" scripts in the main directory execution permissions.
chmod +x install.sh changeDatabaseCredentials.sh applyDeploymentsAndServices.sh sd.sh
- Open the install.sh file with a text editor of your choise. Change the variables on the top of the File to match your local conditions or preferences.
- Then run the "install.sh" script in the main directory. (Please execute it while you are in the main directory! The execution while you are in another directory can cause problems!)
- Install the MongoDB. (Prefered to use HELM for this task)
- Update the credentials for the MongoDB in the
kubernetes/backend/config-map-backend.yaml
and
kubernetes/backend/mongo-secret.yaml
. - Run the kubernetes files in the kubernetes directory and sub folders. (Run the config-map's and secrets first!)
The IP to reach the Service (21/02/03) is http://34.117.37.50/.
Username: WVWZZZ1KZDP045466
Password: rootPass123!
The one simulated car has the vin vw00t3jwf8wf3f90jowj
Cause some problems is the Swagger-UI only reachable, if you run the backend local. To get the information witout running it local we provide a swagger.json that you can find in the adlBackend directory.