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
- Deploy a cluster.
- Create a knative Service.
- 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.
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
Readyeven if the reporteddomainnamedoesn't exist.Steps to Reproduce the Problem
curlagainst 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.yamlto point tosrv.cluster.localso that DNS works (within the cluster) out of the box.