Skip to content

Commit

Permalink
vl3-lb: add service name to dns request (#9898)
Browse files Browse the repository at this point in the history
The "finance" name has conflicts on public clusters

Signed-off-by: Artem Glazychev <[email protected]>
  • Loading branch information
glazychev-art authored Sep 27, 2023
1 parent 3c4f8b5 commit 4bc6bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/features/vl3-lb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ kubectl wait --for=condition=ready --timeout=2m pod -l type=vl3-client -n ns-vl3

Send an http-request from the finance-client:
```bash
kubectl exec deployments/finance-client -n ns-vl3-lb -- curl -s finance:8080 | grep "Hello! I'm finance-server"
kubectl exec deployments/finance-client -n ns-vl3-lb -- curl -s finance.vl3-lb:8080 | grep "Hello! I'm finance-server"
```
In the response you will see the name of the real server that performed the processing.
If you run the command above many times, you will see that load balancing occurs and the responses are returned by different handlers.
Expand Down

0 comments on commit 4bc6bfa

Please sign in to comment.