Closed jenoOvchi closed 2 years ago
The same note i found in the next lab (https://github.com/openfaas/workshop/blob/master/lab5.md): Note: If you're running on Kubernetes, suffix the gateway_hostname with openfaas namespace: gateway_hostname: "gateway.openfaas"
In the lab 4 (https://github.com/openfaas/workshop/blob/master/lab4.md) in part "Call one function from another" you use "gateway" as a default value for "gateway_hostname" variable when "gateway_hostname" is not set. OpenFaaS functions hosted in the openfaas-fn Kubernetes namespace instead of OpenFaaS Gateway that placed in the openfaas Kubernetes namespace. So you need to put namespace name after service name to resolve this hostname from another namespace and use "gateway.openfaas" as a default for "gateway_hostname" variable.