Installation error in Service mesh Linkerd in aks

5/14/2020

I have followed the getting started instructions here: https://linkerd.io/2/getting-started/ for installing linkerd but i am not able to install cli of linkerd.

Please see the command below: curl -sL https://run.linkerd.io/install | sh

Please see the error below:

Invoke-WebRequest : A positional parameter cannot be found that accepts argument 'https://run.linkerd.io/install'.
At line:1 char:1
+ curl --sL https://run.linkerd.io/install | sh
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
-- Saiteja Prattipati
azure-aks
kubernetes
linkerd

1 Answer

5/14/2020

I had the same issue as you. The way I resolved it is as follows:

1) Install WSL for Windows 10: https://docs.microsoft.com/en-us/windows/wsl/install-win10.
2) Install Ubuntu from the Windows store: https://www.microsoft.com/en-gb/p/ubuntu/9nblggh4msv6

Then launch the Ubuntu shell and follow the instructions again. Please note this is not a virtual machine - just a shell.

-- w0051977
Source: StackOverflow