Role of ambassador design pattern in Kubernetes
https://images.app.goo.gl/BFgwXXWPwquXbQAT6

Role of ambassador design pattern in Kubernetes

Why to read this?

In Kubernetes, there is a container that proxy the network connection to the main container. If you like to know about its working and usage, then this document helps.

Technical explanation

An Ambassador container is a sidecar container that is in charge of proxying connections from the application container to other services.

An ambassador service can be thought of as an out-of-process proxy that is co-located with the client. This pattern can be useful for offloading common client connectivity tasks such as monitoring, logging, routing, security (such as TLS). 


Working principal
No alt text provided for this image


Example use
  • Almost all applications need a database connection at some phase. In a multi-environment place, there would be a test database, a staging database, and a production database. When writing the Pod definition for their application’s container, developers must pay attention to which database they’ll be connecting to.
No alt text provided for this image
  • Legacy application can use this pattern for its migration effort to cloud-native (micro-service)
No alt text provided for this image


Reference
Thanks to these helping hands
https://images.app.goo.gl/BFgwXXWPwquXbQAT6

https://images.app.goo.gl/7itAcR6y1DxAVMSs5

https://www.magalix.com/blog/kubernetes-patterns-the-ambassador-pattern

https://docs.microsoft.com/en-us/azure/architecture/patterns/ambassador

https://stackoverflow.com/questions/59451056/differences-between-sidecar-and-ambassador-and-adapter-pattern


要查看或添加评论,请登录

Deepak Kumar的更多文章

  • Role of DBSCAN in machine learning

    Role of DBSCAN in machine learning

    Why to read this? Density-based spatial clustering of applications with noise (DBSCAN)is a well-known data clustering…

  • Choice between multithreading and multi-processing: When to use what

    Choice between multithreading and multi-processing: When to use what

    Introduction Single threaded and single process solution is normal practice. For example, if you open the text editor…

  • Artificial Narrow Intelligence

    Artificial Narrow Intelligence

    About ANI ANI stands for "Artificial Narrow Intelligence." ANI refers to artificial intelligence systems that are…

  • Federated learning and Vehicular IoT

    Federated learning and Vehicular IoT

    Definition Federated Learning is a machine learning paradigm that trains an algorithm across multiple decentralised…

  • An age old proven technique for image resizing

    An age old proven technique for image resizing

    Why to read? Anytime, was you curious to know how you are able to zoom small resolution picture to bigger size?…

    1 条评论
  • Stock Market Volatility Index

    Stock Market Volatility Index

    Why? Traders and investors use the VIX index as a tool to gauge market sentiment and assess risk levels. It can help…

  • The case for De-normalisation in Machine learning

    The case for De-normalisation in Machine learning

    Why? The need for inverse normalization arises when you want to interpret or use the normalized data in its original…

    1 条评论
  • Kubernetes complements Meta-verse

    Kubernetes complements Meta-verse

    Motivation The #metaverse is a virtual world or space that exists on the #internet . It's like a big interconnected…

    1 条评论
  • Which one offers better Security- OSS or Proprietary software

    Which one offers better Security- OSS or Proprietary software

    Motivation World is using so many OSS. Apache Kafka is a core part of our infrastructure at LinkedIn Redis is core part…

  • Why chatGPT/LLM should have unlearning capability like human has..

    Why chatGPT/LLM should have unlearning capability like human has..

    Executive Summary Do you know, chatGPT/LLM has this open problem to solve. This problem(unlearn) has potential to…

    1 条评论

社区洞察

其他会员也浏览了