Skip to content

docs: Fix Podname used as command in HTTPRoute Docs (Latest) #5702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions site/content/en/latest/tasks/traffic/http-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ Test routing to the `foo-svc` backend by specifying a JWT Token with a claim `na

```shell
curl -sS -H "Host: foo.example.com" -H "Authorization: Bearer $TOKEN" "http://${GATEWAY_HOST}/login" | jq .pod
"foo-backend-6df8cc6b9f-fmwcg"
```
The request should return the pod name, for example `foo-backend-6df8cc6b9f-fmwcg`


Get another JWT used for testing request authentication:

Expand All @@ -290,8 +291,9 @@ Test HTTP routing to the `bar-svc` backend by specifying a JWT Token with a clai

```shell
curl -sS -H "Host: bar.example.com" -H "Authorization: Bearer $TOKEN" "http://${GATEWAY_HOST}/" | jq .pod
"bar-backend-6688b8944c-s8htr"
```
The request should return the pod name, for example `bar-backend-6688b8944c-s8htr`


[HTTPRoute]: https://gateway-api.sigs.k8s.io/api-types/httproute/
[Gateway API documentation]: https://gateway-api.sigs.k8s.io/
Expand Down