With prerequisites complete, you are ready to download and deploy Linkerd resources.
Using Meshery, select Linkerd from the Management
menu.
In the Linkerd management page:
- Type
linkerd
into the namespace field. - Click the (+) icon on the
Install
card and selectLatest Linkerd
to install the latest version of Linkerd.
For manual steps go here
Linkerd is deployed in the linkerd
Kubernetes namespace. Verify that Linkerd and its components are deployed, execute the command:
linkerd check
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.
Linkerd, as part of this workshop, is installed with several optional addons like:
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.
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
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