Knative-Serving Could not resolve host: helloworld-go.default.mydomain.com

703 views
Skip to first unread message

rutva patel

unread,
Mar 4, 2021, 6:12:00 PM3/4/21
to Knative Users
I am new to knative. I have installed minikube for cluster support and all the required tools for knative . While creating the service in reference of this: [https://knative.dev/docs/serving/getting-started-knative-app/](url)

I am getting below output: 
1) Create service command output as expected):

kn service create helloworld-go --image gcr.io/knative-samples/helloworld-go --env TARGET="Go Sample v1"

Creating service 'helloworld-go' in namespace 'default':
 
>   0.047s The Configuration is still working to reflect the latest desired specification.
>   0.407s The Route is still working to reflect the latest desired specification.
>   0.522s Configuration "helloworld-go" is waiting for a Revision to become ready.
>  12.683s ...
>  12.882s Ingress has not yet been reconciled.
>  15.143s Ready to serve.
 Service 'helloworld-go' created to latest revision 'helloworld-go-yvtlp-1' is available at URL:

2) This is my service:
kn service describe helloworld-go

> Name:       helloworld-go
> Namespace:  default
> Age:        18s
> Revisions:
>   100%  @latest (helloworld-go-yvtlp-1) [1] (18s)
>         Image:  gcr.io/knative-samples/helloworld-go (pinned to 5ea96b)
> Conditions:
>   OK TYPE                   AGE REASON
>   ++ Ready                   3s
>   ++ ConfigurationsReady     5s
>   ++ RoutesReady             3s

3) But when I am trying to curl it's giving me error:


> * Could not resolve host: helloworld-go.default.mydomain.com
> * Closing connection 0
> curl: (6) Could not resolve host: helloworld-go.default.mydomain.com

Can somebody help?

dpro...@gmail.com

unread,
Mar 4, 2021, 6:26:03 PM3/4/21
to Knative Users
Reply all
Reply to author
Forward
0 new messages