Linkerd is an ultralight service mesh for Kubernetes. It gives you observability, metrics, reliability, and security without requiring any code changes. And now, the DigitalOcean Kubernetes Linkerd 1-Click App configures and performs a recommended deployment of Linkerd2 onto a DigitalOcean Kubernetes cluster, in the
linkerd namespace. It's all done for you, in mere minutes.
The Linkerd2 CLI is recommended to interact with Linkerd2 and instructions are provided to add your specific service. As a part of a recommended deployment this 1-click contains Grafana and Prometheus included in the
This stack source is Open Source and can be found at https://github.com/digitalocean/marketplace-kubernetes/tree/master/stacks/linkerd2. Contributions on bug fixes and features will be kindly reviewed.
Note: This stack requires a minimum configuration of 2 Nodes at the $10/month plan (2GB memory / 1 vCPU).
After you have downloaded your kube config file, and are able to successfully connect to your DigitalOcean Kubernetes cluster (see https://cloud.digitalocean.com/kubernetes/clusters/ if you haven’t connected to your cluster) you’ll be able to see Linkerd running in the
linkerd namespace by issuing:
kubectl get pods -A
linkerd pods are in a “
Running” state under the “
NAMESPACE NAME READY STATUS RESTARTS AGE linkerd linkerd-controller-677f58bd99-fx47c 4/4 Running 0 6m34s linkerd linkerd-grafana-9dbd66dfb-52flb 2/2 Running 0 6m33s linkerd linkerd-identity-6587f85db7-6vfkf 2/2 Running 0 6m35s linkerd linkerd-prometheus-7cb697456b-jdq6t 2/2 Running 0 6m33s linkerd linkerd-sp-validator-7c45798d44-rxhnq 2/2 Running 0 6m32s linkerd linkerd-web-6d5b85476c-nf445 2/2 Running 0 6m34s
You can get started with Linkerd in just 3 simple steps.
If this is your first time running Linkerd, you’ll need to download the command line interface (CLI) onto your local machine. You’ll use this CLI to interact with Linkerd.
Instructions here are for MacOS and Linux. For instructions on other Operating Systems see the release page.
Download and install the Linkerd client binary:
curl -sL https://run.linkerd.io/install | sh
Next, add Linkerd to your path:
Verify that the CLI is installed by running:
With the control plane installed and running, you can now view the Linkerd dashboard by running:
This will open your default browser and load your Linkerd dashboard.
In order for your service to take advantage of Linkerd, it needs to have the proxy sidecar added to its resource definition. This is done by using the Linkerd CLI to update the definition and output YAML that can be passed to kubectl. By using Kubernetes’ rolling updates, the availability of your application will not be affected.
To add Linkerd to your service, run:
linkerd inject deployment.yml | kubectl apply -f -
Technical overviews, how-tos, release notes, and support material
DevOps and development guidelines
Run your resources programmatically
Connect, share and learn