Nameko Microservice with Flask and Fastapi (kubernetes)

The deployment of the nameko microservice that explained HERE with kubernetes. As it mentioned in part 1, each of microservice component has its own docker image; therefore in this story the process of deploying them is explained.

Image for post
Image for post

Docker registry

First a by this compose file a docker registry will be up, the we should push the docker images to it with these commands:

Image for post
Image for post

Deployment Rabbitmq and Redis

This deployment is here:

Image for post
Image for post
Image for post
Image for post

And the service:

Image for post
Image for post

Deploying micro-services:

The deployment file is here:

Image for post
Image for post

An the services:

Image for post
Image for post

This deployment is here and it does not have any services, because it not suppose to be accessible from outside.

Image for post
Image for post

Resources:

https://github.com/arezamoosavi/micro-telesys

Written by

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store