Reputation: 535
I've an OpenWhisk instance running on my Ubuntu server.
How can I deploy a new invoker on another machine which will function as an invoker of the current system?
Upvotes: 3
Views: 179
Reputation: 346
This is as simple as running another Invoker instance with a unique ID. Invokers register automatically with the controller via Kafka, the health
topic. This is the Docker's cmd
instruction you could use:
"cmd": "/bin/sh -c \"/invoker/bin/invoker `hostname | tr -dc '0-9'` >> /dev/stderr\""
Upvotes: 1