mirror of https://github.com/linkerd/linkerd2.git
## Motivation #4879 ## Solution When no traffic split exists for services, return a single destination override with a weight of 100%. Using the destination client on a new linkerd installation, this results in the following output for `linkerd-identity` service: ``` ❯ go run controller/script/destination-client/main.go -method getProfile -path linkerd-identity.linkerd.svc.cluster.local:8080 INFO[0000] retry_budget:{retry_ratio:0.2 min_retries_per_second:10 ttl:{seconds:10}} dst_overrides:{authority:"linkerd-identity.linkerd.svc.cluster.local.:8080" weight:100000} INFO[0000] ``` Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> |
||
---|---|---|
.. | ||
watcher | ||
client.go | ||
endpoint_translator.go | ||
endpoint_translator_test.go | ||
fallback_profile_listener.go | ||
fallback_profile_listener_test.go | ||
profile_translator.go | ||
profile_translator_test.go | ||
server.go | ||
server_test.go | ||
traffic_split_adaptor.go | ||
traffic_split_adaptor_test.go |