Serving: Could not resolve host

Created on 9 Sep 2020  路  4Comments  路  Source: knative/serving

Ask your question here:

in pod
image

info:
kubectl get ksvc
image
kubectl get svc
image
cat /etc/resolv.conf
image
curl -H "Host: dev-maxilo-t1.apps.example.com" 192.168.1.206:31529 -i
image

kinquestion

Most helpful comment

Do you have the cluster-local gateway installed? Wondering if this is a collapsed error.

All 4 comments

Are you trying to hit the service from another pod in a cluster local way? If so, I believe dev-maxilo-t2.$THE_NAMESPACE should work in your scenario.

Are you trying to hit the service from another pod in a cluster local way? If so, I believe dev-maxilo-t2.$THE_NAMESPACE should work in your scenario.
@markusthoemmes

curl dev-maxilo-t2.apps.svc.cluster.local

image

Do you have the cluster-local gateway installed? Wondering if this is a collapsed error.

@markusthoemmes thx
install knative without eventing, eventing doc not view~

https://knative.dev/docs/install/any-kubernetes-cluster/#installing-the-eventing-component
Note: If your Kubernetes cluster comes with pre-installed Istio, make sure it has cluster-local-gateway deployed. Depending on which Istio version you have, you鈥檇 need to apply the istio-knative-extras.yaml in the corresponding version folder at here.

Was this page helpful?
0 / 5 - 0 ratings