I am currently reviewing my most important projects from GitHub and trying to implement new features to it, so updates will be coming soon. This repository is part of my final project for the Java School of T-Systems Iberia and contains the kubernetes minikube configuration. For further information please refer to my documentation at https://miguelpelegrina.github.io/java_school_online_store_documentation/.
- Install Kubernetes on your device: https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/
- Set up the docker context as default:
docker context use default
- Start the minikube:
- With default configuration:
minikube start
- With high amount of resources for improved performance:
minikube start --cpus 8 --memory 16.384
- With default configuration:
minikube addons enable ingress
minikube tunnel
- Open another terminal:
minikube dashboard
- Select All namespaces from the drop-down menu at the top left of the Kubernetes Dashboard to view everything.
- At the start default is selected and all the related deployments and services related to metrics are in the monitoring namespace.
- The current configuration does not differ between a development and a production environemnt.
- Currently the following services are running:
- Backend: Java Spring Boot API
- API Documentation: OpenAPI (former Swagger)
- Frontend: Angular
- Database: postgreSQL
- DBMS: pgAdmin4
- Documentation: Mkdocs
- Code Analysis: SonarQube
- Metrics: Prometheus and Grafana
- Backend: Java Spring Boot API
- I am new to Kubernetes and this is my project to learn how to use it, therefore errors, bad practices, questionable design choices might happen, but improvements will happen over time as it's all part of the learning process!