ServoKvd commented on issue #2689: WIP on dynamic invoker id assignment URL: https://github.com/apache/incubator-openwhisk/pull/2689#issuecomment-326897662 Hello, (My Id is Kavitha Devara on Slack Channels) Im in favor of making the Invoker Stateless( from Kubernetes perspective) - Am happy to see some momentum on this. Im experimenting with the following way of obraining the InstanceId from the Controller: "curl controller.openwhisk:8080/invokers" ---> (This should give the current list of Invokers) and calling this API in the "Invoker", to get the next available Id, before it can bootstrap itself up with an ID. Use the existing API to get the length of current Invokers and Instantiate the next Invoker with the next index (OR) write a new REST API in Controller.scala, to get "availableIndex" for the Invoker. "avialable Indexes" can be a pool of Indexes/UUIDs maninatined by the Controller that may be assigned for new Invoker Instance creation. Any thoughts on this kind of solution? ---------------------------------------------------------------- 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
