dgrove-oss commented on issue #436: Api Gateway not working on Docker Desktop 
Windows/Mac
URL: 
https://github.com/apache/incubator-openwhisk-deploy-kube/issues/436#issuecomment-482713791
 
 
   Attached are the activations from `wsk api create` run outside the cluster 
via the cli and run inside the cluster (via the cli as part of `helm test ow`). 
 
   
   The root problem is that we are seem to be picking up the "backendURL" from 
the apiHost that was used to execute the `wsk api create` command.  This can't 
work in the Kubernetes on Docker for Mac/Windows because the external apiHost 
which is used to create the API is not reachable from inside the cluster (which 
is where the api-gateway pod is going to try to use the URL when the api is 
invoked).
   
   Not clear if we should just document this as a limitation of deploying on 
Kubernetes on Docker for Mac/Windows (since this is a dev environment that 
really does not need api-gateway functionality) or if we should attempt to 
fix/generalize so that the deployment can override to use the internal api host 
as the backendURL.
   
   
[createApi-insideCluster.txt](https://github.com/apache/incubator-openwhisk-deploy-kube/files/3075084/createApi-insideCluster.txt)
   
   
[createApi-outsideCluster.txt](https://github.com/apache/incubator-openwhisk-deploy-kube/files/3075085/createApi-outsideCluster.txt)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to