DanLavine commented on issue #2545: Kafka topics are created via Docker Images
URL: 
https://github.com/apache/incubator-openwhisk/pull/2545#issuecomment-319095709
 
 
   @rabbah. The motivation for this PR is so that deployments that do not want 
to rely on Ansible. For example, in Kubernetes you would could have a number 
Pods deployed for the Invoker (say 5), but you want to increase that number to 
10.  The way one would normally do this is running `kubectl scale --replicas=10 
-f <PATH TO YAML FILE>` (or some other way, update required yaml and reapply 
it).
   
   However, the current workflow would require us to run the Kafka topic 
creation before those components come up. I image that other deployment 
strategies like Docker Compose could have this issue as well.
   
   Lastly, the issue with versioning, I think I can set environment variables 
in gradle that can feed into the Docker images, need to test it out. Or since 
both the Controller and Invoker use the same base image, we could create a new 
Docker image that has Kafka built into it, then use that image for the 
Controller and Invoker, but not sure if you want another Docker Image.
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to