Skip to content

Latest commit

 

History

History
111 lines (71 loc) · 2.95 KB

File metadata and controls

111 lines (71 loc) · 2.95 KB

Lab 1 - Deploy Linkerd

With prerequisites complete, you are ready to download and deploy Linkerd resources.

Steps

1 - Install Linkerd

Using Meshery, select Linkerd from the Management menu.

In the Linkerd management page:

  1. Type linkerd into the namespace field.
  2. Click the (+) icon on the Install card and select Latest Linkerd to install the latest version of Linkerd.

For manual steps go here

2 - Verify install

Linkerd is deployed in the linkerd Kubernetes namespace. Verify that Linkerd and its components are deployed, execute the command:

linkerd check

3 - Enforce mTLS strict mode

By establishing mutually-authenticated connections between Linkerd proxies , Linkerd automatically enables mutual Transport Layer Security (mTLS) by default for most HTTP-based communication between services.

4 - Confirming Add-ons

Linkerd, as part of this workshop, is installed with several optional addons like:

  1. Prometheus (site)
  2. Grafana (site)
  3. Jaeger (site)
  4. Dashboard (site)

You will use Meshery for collecting and viewing metrics, and Jaeger for viewing distribued traces.

Continue to Lab 2: Deploy Sample Emojivoto app



Alternative, manual installation steps are provided for reference below. No need to execute these if you have performed the steps above.


Appendix - Alternative Manual Install

Download linkerd CLI

On a *nix system, you can setup linkerd by doing the following:

The above command will get the latest Linkerd package and untar it in the same folder.

Change into the Linkerd package directory and add the linkerd client to your PATH environment variable.

curl -sL https://run.linkerd.io/install | sh
export PATH=$PATH:$HOME/.linkerd2/bin

Alternatively, on MacOS you can sue HomeBrew to install linkerd

brew install linkerd

To verify linkerd is setup lets try to print out the command help

linkerd version

We can use a new feature in linkerd to check if the cluster is ready for install:

linkerd check --pre

Install and Verify Linkerd:

Deploy Linkerd custom resources:

linkerd install | kubectl apply -f -

Use the following command to see the progress on the installation of Linkerd custom CRDs and components

linkerd check