Closed krzykwas closed 5 months ago
/assign @aojea /assign @marqc
@krzykwas: GitHub didn't allow me to assign the following users: marqc.
Note that only GoogleCloudPlatform members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. For more information please see the contributor guide
Can you add a test case with IPv4 and IPv6 KUBERNETES_SERVICE_HOST and verification that a correct curl arguments are passed, generally a clone of this test case https://github.com/GoogleCloudPlatform/netd/blob/master/scripts/testcase/testcase-basic-v2.sh#L1 https://github.com/GoogleCloudPlatform/netd/blob/master/scripts/testcase/testcase-basic-v2.sh#L23
Done
@marqc: changing LGTM is restricted to collaborators
/lgtm /assign @jingyuanliang
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jingyuanliang, krzykwas, marqc
The full list of commands accepted by this bot can be found here.
The pull request process is described here
cc @yiningou - cl/624106013 needs similar thing.
I'm not sure if ip-masq-agent will still be relevant in the current ipv6-only design (v6 folks could you advise?) but at least we shouldn't let it crash when it runs over the curl lines.
I'm not sure if ip-masq-agent will still be relevant in the current ipv6-only design (v6 folks could you advise?) but at least we shouldn't let it crash when it runs over the curl lines.
where is the ip-masq-agent using curl?
where is the ip-masq-agent using curl?
No it's not the kubernetes-sigs/ip-masq-agent but our enablement approach for cilium's ip-masq-agent.
all golang code must use the net.JoinHostPort() helper to build urls, that do the right thing https://pkg.go.dev/net#JoinHostPort
Good to know but it's another piece of bash script there...
If $KUBERNETES_SERVICE_HOST is an IPv6 address, wrap it with [], so a curl command to /api/v1/nodes succeeds.