Skip to content

lg-labs/blank-infra

Repository files navigation

🛠️ K8s to Blank System μ-service

lg-labs License

👋 The K8s files to deploy the Blank 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

More details

🚀 Deploy Blank System

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

SetUp Helm

Change the version to zookeper, modify the file poddisruptionbudget.yaml

# before
apiVersion: apiVersion: policy/v1beta1
# after
apiVersion: policy/v1

Using makefile

Install 1/1: Create the helm directory.

make init-helm 

You can ...

Using makefile

Install 1/5: Create the helm directory.

make init-helm 

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 blank system components!

make app-up

🧪 Testing

Execute API using this file api.http.

🗑️ Uninstall

# removing the blank system components!
make app-down
# removing Postgres
make db-down
# removing Kafka Server
make uninstall-kafka
# removing Kafka Client
make kafka-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