Open lec-bit opened 2 months ago
/label area/ads
@hzxuzhonghu: The label(s) /label area/ads
cannot be applied. These labels are supported: tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash
. Is this label configured under labels -> additional_labels
or labels -> restricted_labels
in plugin.yaml
?
/label area/ads
kmesh in ads mode:
httpbin.default.svc.local.cluster
, route is as expected;httpbin
, not ok, treated as PassThrough
For example:
Here, ptr is httpbin
, domain is httpbin.default.svc.local.cluster
. We call bpf_strnstr
:
bpf_strnstr(ptr, domain, ptr_length)
it will find httpbin.default.svc.local.cluster
in httpbin
, must fail.
I am thhinking it is because kmesh works as a node level proxy, There can be multi httpin
services reside in different namespaces. So if a request pass through kmesh, it wil not know where to redirect it to only by the httpbin
host name
What happened: when I start kmesh in ads mode, try bookinfo examples, traffic-management,I don't get the expected result and kmesh logs:
I find in route that domains, the domain matching was incorrect. Unable to match the correct host For example, host in HTTP:
productpage:9080
And domains in ads config:Kmesh cannot auto obtain and complete ns information What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment: