Skip to content

Destinations service doesn't discover services outside the local cluster #155

@briansmith

Description

@briansmith

If the DNS name sent in a query to the Destinations service has a suffix of "cluster.local" or whatever the current cluster domain name is, the Destination service should use the local k8s API server's Services API to discover the service. There are two cases:

  • If the service is not an "external" service then the Destinations service should use the EndPoints API to watch the addresses for the service. This works now.

  • If the service is an "external" service, then the Destination service should use DNS to discover the addresses for the service, as kube-proxy would. It should periodically poll DNS to get a similar effect toa watch on the EndPoints API for internal services. This doesn't work now.

If the DNS name sent in the query to the Destinations service doesn't end with "cluster.local" or the local cluster domain name, then the Destinations service should skip using the Services API and assume that it is an "external" service. This doesn't work now.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions