linkerd / linkerd/linkerd2

Cannot install old versions of Linkerd (-amd64 suffix is missed)

Open
#5,319 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Go
Stars
11.5k
Forks
1.4k
Avg merge
3d 22h
Merged PRs (30d)
53

Description

## Bug Report

### What is the issue?

Installation script was changed in a way it is impossible to install old versions.

### How can it be reproduced?

```
ENV LINKERD2_VERSION=stable-2.7.1
RUN curl -sL "https://run.linkerd.io/install" | sh
```

### Logs, error output, etc

```
11:06:30 Downloading linkerd2-cli-edge-20.1.2-linux-amd64...
11:06:30  % Total % Received % Xferd Average Speed Time Time Time Current
11:06:30 Dload Upload Total Spent Left Speed
11:06:30
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
11:06:30 curl: (22) The requested URL returned error: 404 Not Found
```

#### `linkerd check` output

### Environment

Docker

### Possible solution

There should be a flag to support old versions, but I don't see any in the install script.

### Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the install script served at https://run.linkerd.io/install and trace how LINKERD2_VERSION is converted into the downloaded CLI filename. Reproduce the stable-2.7.1 command and compare its requested linux-amd64 artifact with the available old-version artifact. Done means the command installs the requested old version successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.