Skip to content

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

@policeman-kh

Description

@policeman-kh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions