You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ kubectl get all
NAME READY STATUS RESTARTS AGE
pod/echoheaders-4hhcf 1/1 Running 0 2m
NAME DESIRED CURRENT READY AGE
replicationcontroller/echoheaders 1 1 1 2m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/echoheadersx NodePort 10.23.251.126 <none> 80:30301/TCP 2m
service/echoheadersy NodePort 10.23.245.89 <none> 80:30284/TCP 2m
NAME HOSTS ADDRESS PORTS AGE
echomap foo.bar.com,bar.baz.com 35.241.43.197 80 4m
So far so good. Now accessing the Ingress Address directly http://35.241.43.197 gives the echoheadersx backend.
However any access using one of the configured hosts via curl or /etc/hosts results in an "Unknown Host" error like this:
$ curl -H "Host: foo.bar.com" http://35.241.43.197/foo
<HTML>
<HEAD>
<TITLE>Unknown Host</TITLE>
</HEAD>
<BODY BGCOLOR="white" FGCOLOR="black">
<H1>Unknown Host</H1>
<HR>
<FONT FACE="Helvetica,Arial"><B>
Description: Unable to locate the server requested ---
the server does not have a DNS entry. Perhaps there is a misspelling
in the server name, or the server no longer exists. Double-check the
name and try again.
</B></FONT>
<HR>
</BODY>
Any suggestions?
The text was updated successfully, but these errors were encountered:
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
I am following the instructions in the README.md.
Kubernetes/GKE version:
Creating the GCE ingress controller:
I am verifying that the controller is in fact running:
Next I am crating the example service and ingress:
And verifying that they are in fact created:
So far so good. Now accessing the Ingress Address directly
http://35.241.43.197
gives theechoheadersx
backend.However any access using one of the configured hosts via
curl
or/etc/hosts
results in an "Unknown Host" error like this:Any suggestions?
The text was updated successfully, but these errors were encountered: