Skip to content

Commit

Permalink
PR comments and use Linkerd version 2.14.10
Browse files Browse the repository at this point in the history
Signed-off-by: Alon Gluz <[email protected]>
  • Loading branch information
AlonGluz committed Dec 13, 2024
1 parent 5f5d513 commit cfc6dad
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/linkerd-header-based/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,10 @@ You can test the header-based routing by sending requests with and without the s

# Without header (goes to stable)
```shell
curl -H "Host: rollout.example.com" http://localhost:80
curl http://localhost:80
```

# With header (goes to canary)
```shell
curl -H "Host: rollout.example.com" -H "X-test: canary" http://localhost:80
curl -H "X-test: test" http://localhost:80
```

You should see different responses from the stable and canary versions based on the presence of the `X-test: canary` header.

0 comments on commit cfc6dad

Please sign in to comment.