Skip to content

About

An example of a simple microservice application, that can be deployed on a public platform

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

56 Commits

Folders and files

Repository files navigation

Simple Micro Service app

The application is really simple : one Python app, one redis server, every time user reaches the "/" URL, a counter is incremented in redis.

App listens on port 9876, and the configuration creates a load balancer service.

Tip: my K3s supports klipper-lb by default, so a service type LoadBalancer works out of the box. If you're deploying this microservice app on a platform that supports load balancers (K3s, cloud providers, ...) you should be fine - if not, change the service to a NodePort.

Architecture

To build the code :

docker build --platform linux/amd64 -t <name>/<container-name>:<tag> .
docker push <name>/<container-name>:<tag>

About

An example of a simple microservice application, that can be deployed on a public platform

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages