Skip to content
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

Adding leading whitespaces in load_assignment on load-balancing#step2 #18

Open
policeman-kh opened this issue Aug 13, 2020 · 1 comment

Comments

@policeman-kh
Copy link

Hello.
Can I share suggestion about the scenario of "Controlling load balancing policies" ?
I tried this scenario and got an error

curl: (7) Failed to connect to localhost port 80: Connect

on step 3.
The reason was that the "load_assignment" copied in step2 does not have leading spaces.
screenshop

Maybe most users will just copy it.
So I think it is better to put leading whitespaces in the load_assignment.
https://github.com/envoyproxy/katacoda-scenarios/blame/master/load-balancing/step2.md#L9-L24
Like

    load_assignment:
      cluster_name: targetCluster
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: 172.18.0.3
                port_value: 80
        load_balancing_weight: 90
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: 172.18.0.4
                port_value: 80
@policeman-kh
Copy link
Author

Maybe the issue will be fixed by the PR #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant