Skip to content

Consider having Route not become Ready until DNS resolves #1598

@evankanderson

Description

@evankanderson

Expected Behavior

When a Route is Ready, I can reach it at some DNS name. (From places where I can resolve the DNS name*).

* if my cluster name is srv.cluster.local, I'd expect names to only resolve within the cluster.

Actual Behavior

Route will report that it is Ready even if the reported domainname doesn't exist.

Steps to Reproduce the Problem

  1. Deploy a cluster.
  2. Create a knative Service.
  3. Run a job which runs curl against the Service's domainname.

Additional Info

We should have the Route controller check that the DNS name resolves (possibly check that it's pointed at the Istio ingress?), and report the status in a new Condition type. I suggest the name DnsResolved.

We should also switch config-domain.yaml to point to srv.cluster.local so that DNS works (within the cluster) out of the box.

Metadata

Metadata

Labels

area/networkingkind/featureWell-understood/specified features, ready for coding.kind/questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions