Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 2.03 KB

002-opinionated-microservice-deployment-guideline.md

File metadata and controls

57 lines (35 loc) · 2.03 KB

My opinionated microservice deployment guideline

Context

Following this Tweet:

I’m wondering, if Kubernetes is the solution to the complexity we introduced by using microservices, then 1/ what is the solution to the complexity introduced by using Kubernetes? and 2/ why are we using microservices anyway?

This document complete my previous « My opinionated project deployment guideline » document.

Note:

  • between 2016 and 2019:
    • I have deployed and managed one On-premises Kubernetes cluster (on baremetal servers)
    • I have depolyed and managed one microservice app on this Kubernetes cluster
    • I have depolyed and managed several monolithic apps on this Kubernetes cluster
    • I was an member of Scaleway Kubernetes As A Service development team

Guideline

First step

Second step

  • Configure Automatically update running Docker containers with watchtower.
  • Configure your CI to automatically push your stable Docker Image to your private Docker Registry

Then when you merge to your Git stable branch your application will be automatically deployed.

Third step

Fourth step

Deploy your microservice app on Kubernetes only if:

  • you master the first and second steps
  • and your app need scalability

Fifth step

My advice

Don't try to directly go to fourth step before masterize previous steps.