Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/caoimhindenais/servicemesh-http-proxy

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/caoimhindenais/servicemesh-http-proxy

  • v0.0.0-20200312151941-a1329c88c011
  • Source
  • Go
  • Socket score

Version published
Created
Source

Sidecar proxies, the heart of a servicemesh

Background

After reading Venil Noronha's tutorial [ 1 ] (thanks!), I rolled my own sidecar proxy :-)

However I changed two things

  1. You can configure ingress to route traffic to your service without the need to send requests from inside of the Kubernetes network
  2. I modified the http requests, depending on my "business logic"

In summary to create a service mesh on Kubernetes you need

  1. An Init Container to allow you to run configuration scripts before you main application container starts [ 2 ], [ 3 ]
  2. An iptable rule to direct network traffic to your proxy
  3. A proxy where you implment your business logic

More notes : https://medium.com/@caoimhin.denais/kafka-proxies-and-service-meshes-8218353dac50
User Story

My userstory was protecting a village (i.e a SpringBoot rest service) against Dragons \o/

Alt Text

Quickstart

./run.sh
minikube dashboard

Results Usecase Context Diagram Usecase Context Diagram

References

[1]: https://venilnoronha.io/hand-crafting-a-sidecar-proxy-and-demystifying-istio
[2]: https://sookocheff.com/post/kubernetes/understanding-kubernetes-networking-model/
[3]: https://medium.com/@awkwardferny/getting-started-with-kubernetes-ingress-nginx-on-minikube-d75e58f52b6c

Prerequisites

[4]: https://kubernetes.io/docs/tasks/tools/install-minikube/
[5]: https://golang.org/doc/install)
[6]: https://adoptopenjdk.net

FAQs

Package last updated on 12 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc