3 ms·
it's because connect.NewService is the consul client, not something like net.DialTCP
by justinsaccount 7y ago
it's because connect.NewService is the consul client, not something like net.DialTCP
- atombender 7y agoOh, they require all TCP connections to go through that. That's a bit heavy-handed — requires rewriting all client code to adapt to that pattern. The nice thing about KubeDNS is that you don't have to. Same with Istio.
- peterwwillis 7y agoIntegrating with app code is optional. The default is to use a sidecar.
- justinsaccount 7y agoI brought up the native client because you mentioned "they should have defined a new API".
- atombender 7y agoThat wasn't me. I'd argue the opposite. Though I'd also maybe argue that SRV records is what we should have standardized on for this stuff a long time ago.