Kubernetes Classroom Series – 08/Jun/2021

Case Study: Car booking Service

  • The current implementation of Car booking Service is as follows Preview

  • The current architecture in n-tier application architecture

  • Now the Business goals of the the Car booking service are

    • Support mobile apps
    • Support Realtime booking of Cars
    • Planning to Serve other developing countries.
  • The major components of this application as of now are

    • Web Server
    • App Server
    • Db Server
  • As a first step, Architect categorizes the application according to business domains

    • Fleet Management:
    • Tracker:
    • Trip Management:
    • Identity & Access Management:
  • The architecture of the refactored application looks as shown below Preview

  • Now, Each application is owned by a different team. Each microservice will have its own database.

  • Each microservice will have automated CI/CD pipeline. Preview

  • To realize this application

    • Each microservice has a docker image
    • This docker image is used to create a Kubernetes deployment Preview
  • To understand communication b/w microservices, we need to understand

    • How container in a Pod gets a network ?
    • How can two container in the same pod communicate with each other?
    • How Pod to Pod networking works?
    • How service to Pod networking works?
  • How virtual networking works?

  • What is bridge?

  • Container Networking?

  • Pod Networking?

Note: Strangler Pattern is used to switch to microservices from monoliths Preview

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin