Skip to content

stratokumulus/simple-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published