Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

kenju/service-mesh-patterns

Repository files navigation

service-mesh-patterns

The design patterns of container application deployments

Benchmark

sub directory description
benchmark-grpc load-testing pattern using bojand/ghz for gRPC load testing
benchmark-http load-testing pattern using rakyll/hey for HTTP load testing

Envoy Proxy

sub directory description
envoy-front-proxy front-proxy pattern using HTTP connection manager filter
envoy-grpc-gateway grpc-bridge pattern using gRPC bridge filter
envoy-lua-filters http-sniffing pattern using Lua HTTP filter
envoy-prometheus-monitoring distributed-tracing pattern using Prometheus & Grafana

Fluentd

sub directory description
fluentd-logging-driver Basic configuration for fluentd as a logging driver
fluentd-logging-kibana Ingest jsonl format logs from Rails app, parse at fluentd, write messages to Elasticsearch, and query on Kibana

kubernetes

sub directory description
k8s-ingress-nginx A kubernetes resources using official ingress-controller for NGINX
k8s-fluentd-logging-kibana Ingest jsonl format logs from Rails app via /var/log/containers/*.log, parse at fluentd DaemonSet, write messages to Elasticsearch, and query on Kibana
k8s-fluentd-metrics-prometheus A kubernetes resources for collecting fluentd metrics via Prometheus
k8s-volume A minimum example for mounting volumes

mtail

sub directory description
mtail-nginx The basic architecture for extracting logs from NGINX access logs.

NGINX

sub directory description
nginx-content-distribution A NGINX template for a scalable architecture for content distribution, which is introduced by "nginx実践入門"
nginx-name-based-virtual-hosting A NGINX template for the name besed virtual hosting.
nginx-path-based-routing A NGINX template for the path based routing.
nginx-proxy-cache A reverse proxy (NGINX) cache response from upstreams using ngx_http_proxy_module.
nginx-static-contents A NGINX template for serving static files.
openresty-simple A simple container setup based on openresty/docker-openresty.

Prometheus

sub directory description
prometheus-grafana A basic template for Prometheus for scraping from node_exporter and visualize via the Grafana dashboard.
prometheus-bpf-exporter A basic architecture for exporting BPF metrics to Prometheus, and visualize on Grafana.