Skip to content

lg-labs/food-ordering-system-infra

Repository files navigation

# 🛠️ K8s to Food Ordering System μ-service

lg-labs License

👋 The K8s files to deploy all Food Ordering System.

From Lg Pentagon or lg5! Get Lg5-Spring to develop μ-services faster.

For more information, check this pages https://lufgarciaqu.medium.com.

Using K8s, Helm and cp-helm-charts

Important: for the First Time: you need to change the version in the file:
helm/cp-helm-charts/charts/cp-zookeeper/templates/poddisruptionbudget.yaml has an invalid version.
Replace apiVersion: policy/v1beta1 by apiVersion: policy/v1

More details

🚀 Deploy Food Ordering System

⚠️ Require the docker images for each Food Ordering System component.
How can you generate the Food Ordering System's images?

You can ...

Using makefile

Install 1/5: Create the kafka cluster.

make install-kafka 

Install 2/5: Create a kafka client.

make kafka-up 

Install 3/5: Create topics manually!

make kafka-exec

Create topics manually with create-topics.sh

Install 4/5: Deploy a Postgres!

make db-up

Install 5/5: Deploying the food ordering system components!
Before, you need a volume (PVC)

make vol-up

After..

make app-up

🧪 Testing

Execute API using this file api.http.

🗑️ Uninstall

# removing the food ordering system components!
make app-down
# removing Postgres
make db-down
# removing Kafka Server
make uninstall-kafka
# removing Kafka Client
make kafka-down
# removing PVC
make vol-down

📚Contents

⚖️ License

The MIT License (MIT). Please see License for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published