• Stars
    star
    428
  • Rank 101,481 (Top 2 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples of how to configure and run linkerd

linkerd

GitHub license Circle CI

linkerd examples

🎈 Welcome to linkerd-examples! πŸ‘‹

This repo contains subdirectories with various examples for how to use linkerd and namerd. Each of the subdirectories is described below.

All examples and documents in this repo refer to Linkerd 1.x unless explicitly called out as a Linkerd2 example. For more information on getting started with Linkerd2, head over to the Linkerd2 Getting Started Guide.

Getting started

Provides guides for getting linkerd up and running in multiple different environments, including local development, docker-compose, DC/OS, and Kubernetes. More information:

Add steps demo

Provides a self-contained docker-compose environment that can be used to test linkerd's performance. More information:

Consul

Provides a self-contained docker-compose environment which shows how to use consul as a service discovery back-end with linkerd.

DC/OS

Provides common configurations for deploying linkerd and namerd to DC/OS. More information:

Docker

Contains files and scripts for building custom Docker images that are used in some of the examples in this repo.

Amazon ECS

Provides common configurations for deploying linkerd to Amazon ECS. More information:

Failure accrual demo

Provides a self-contained docker-compose environment that can be used to test various failure accrual settings. More information:

Gob's microservice

Defines an example microservice application that uses linkerd and namerd to do staging, canary, and blue-green deploy.

http_proxy

Contains a linkerd configuration file that demonstrates how to make requests through linkerd using the http_proxy environment variable. More information:

influxdb

Sets up a demo environment that configures a linkerd-viz-like dashboard using linkerd, Telegraf, InfluxDB, and Grafana. Provides helpful configuration files and dashboards for all components.

A Service Mesh for Kubernetes

Defines a sample hello world app and multiple configs for deploying the app to Kubernetes in various configurations, in support for Buoyant's "A Service Mesh for Kubernetes" series of blog posts. More information:

lifecycle

Production testing Linkerd2's discovery & caching.

linkerd-tcp

Sets up a demo environment that uses linkerd to route HTTP traffic and linkerd-tcp to route Redis traffic. Provides helpful configuration files and dashboards for all components.

Mesos + Marathon

Demonstrates running linkerd and a sample hello world app on Mesos and Marathon, without DC/OS.

Perf baseline

Demonstrates baseline performance metrics for the Linkerd2 Proxy.

Plugins

Contains sample code for building linkerd plugins. More information:

Testing

docker run -v `pwd`:/root/linkerd-examples --entrypoint=/root/linkerd-examples/.circleci/ci.sh buoyantio/linkerd:1.4.6

More Repositories

1

linkerd2

Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
Go
9,729
star
2

linkerd

Old repo for Linkerd 1.x. See the linkerd2 repo for Linkerd 2.x.
Scala
5,333
star
3

linkerd2-proxy

A purpose-built proxy for the Linkerd service mesh. Written in Rust.
Rust
1,978
star
4

linkerd-tcp

A TCP/TLS load balancer for Linkerd 1.x.
Rust
521
star
5

linkerd-viz

Top-line service metrics dashboard for Linkerd 1.
Shell
111
star
6

linkerd2-proxy-api

A service mesh for Kubernetes and beyond. gRPC API bindings repo for Linkerd 2.x.
Rust
81
star
7

tacho

A Futures-aware metrics library for recording statistics about your running system.
Rust
66
star
8

linkerd-await

A program that blocks on linkerd readiness
Rust
65
star
9

website

Source code for the linkerd.io website
JavaScript
44
star
10

linkerd2-proxy-init

Init container that sets up the iptables rules to forward traffic into the Linkerd2 sidecar proxy
Go
36
star
11

namerctl

A utility for controlling namerd
Go
30
star
12

linkerd-zipkin

linkerd telemeter plugins for writing trace data to zipkin
Scala
28
star
13

linkerd-failover

Linkerd Failover Operator
Rust
26
star
14

k8s-gateway-api-rs

Rust bindings for the Kubernetes Gateway API
Rust
22
star
15

linkerd-smi

SMI (Service Mesh Interface) extension for Linkerd 2.x
Go
22
star
16

polixy

Linkerd Policy Prototype
Rust
14
star
17

linkerd-inject

For transparent proxy injection
Go
14
star
18

drain-rs

A crate that supports graceful shutdown
Rust
11
star
19

linkerd2-mock-dst

A mock version of the Linkerd 2 Destination service, for testing purposes.
Rust
6
star
20

rfc

Architectural proposals related to Linkerd.
Shell
4
star
21

gsoc

The home of GSOC or the Linkerd project.
4
star
22

dev

Development tooling for Linkerd repositories
Dockerfile
4
star
23

linkerd2-ci-metrics

CI reports
Go
2
star
24

docs-archive

2
star
25

linkerd2-action-gcloud

Github action for configuring the gcloud CLI and optionally create/destroy GKE clusters on-demand
JavaScript
2
star
26

rustup-nightly-docker

A base docker image with rustup. Mostly for CI.
2
star
27

linkerd-extension-init

A utility for initializing Linkerd extension namespaces after installation
Rust
1
star
28

linkerd2-conformance

A Conformance Validation tool for Linkerd 2.X
Go
1
star