https://github.com/barthofu/microshop
📚 School evaluation project about docker and kubernetes
https://github.com/barthofu/microshop
docker kubernetes micro-services school
Last synced: 3 months ago
JSON representation
📚 School evaluation project about docker and kubernetes
- Host: GitHub
- URL: https://github.com/barthofu/microshop
- Owner: barthofu
- Created: 2024-05-16T07:14:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T13:11:50.000Z (about 2 years ago)
- Last Synced: 2025-03-11T02:40:36.291Z (over 1 year ago)
- Topics: docker, kubernetes, micro-services, school
- Language: Dockerfile
- Homepage:
- Size: 85 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MicroShop
> By **Bartholomé GILI** & **Bastien BOMBARDELLA**.
## Requirements
- [Docker](https://www.docker.com/)
- [Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
- [Helm](https://helm.sh/)
## Usage
You **must execute this command** to push the images directly to the in-cluster Docker daemon (docker-env)
```sh
eval $(minikube docker-env)
```
You **also must execute this command** that would be useful for our load balancers to work
```sh
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
```bash
cd services/
docker build -t -service:1.0.0 .
```
2. Deploy the services using helm
```bash
helm upgrade kubernetes -f kubernetes/values.yaml --force --install --namespace --create-namespace
```