Skip to content

MiguelPelegrina/java_school_online_store_minikube_config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

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/.

Kubernetes minikube configuration

Useful commannds:

To run a Kubernetes minikube:

To run all the applications and servers:

  • 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
  • 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.

Notes:

  • 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
  • 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published