dgrove-oss opened a new issue #382: Improve configuration of 
invoker.containerFactory.nameservers
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/382
 
 
   When the providers are enabled with the DockerContainerFactory, we should 
probably default the nameserver configuration parameters of the invoker to use 
Kuberetes dns service.  This allows user action containers (including those 
used by the provider packages) to access other kubernetes services using 
cluster-internal dns.  The provider's actions need this to be able to reach 
couchdb and operate properly. 
   
   This is a less secure setup (it allows user actions to be aware they are 
running within a Kube cluster and to interact with other pods running in the 
cluster), but is probably what a user is expecting when they deploy OpenWhisk 
on their own Kubernetes cluster.
   
   Sketch of implementation, if the user didn't explicitly set 
invoker.containerFactory.nameservers when they deployed the chart, then we 
should run a script as part of invoker startup that parses /etc/resolv.conf to 
get the values set for the invoker pod by Kube.  We then pass those through the 
appropriate PureConfig env variables so that things are properly configured 
without a manual user step of figuring out the ClusterIP of kube-dns / core-dns 
service.

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


With regards,
Apache Git Services

Reply via email to