Skip to content

📚 School evaluation project about docker and kubernetes

Notifications You must be signed in to change notification settings

barthofu/microshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroShop

By Bartholomé GILI & Bastien BOMBARDELLA.

Requirements

Usage

You must execute this command to push the images directly to the in-cluster Docker daemon (docker-env)

eval $(minikube docker-env)

You also must execute this command that would be useful for our load balancers to work

minikube tunnel

Note

A Makefile is provided to simplify the usage of the project. You can run make help to see all available commands. And run make to deploy the whole thing.

  1. Build the docker images
    cd services/<service_name>
    docker build -t <service_name>-service:1.0.0 .
  2. Deploy the services using helm
    helm upgrade <app_name> kubernetes -f kubernetes/values.yaml --force --install --namespace <app_name> --create-namespace