How can I dynamically add invokers once the controller, CouchDB, Elasticsearch, and other components are ready?
I deploy OpenWhisk invokers on a slave host and other components on a master host using Ansible for distributed deployment.
Once the environment is set up, I want to add a new invoker.
Can I do this manually(Skipping Ansible is preferable for me because our use case requires performing this directly on the slave.)? For example, 1) run the invoker on a new machine, and 2) register it with the controller.
I'm a bit confused about how to go about this process.
Hello,I follow you, and I have some questions,can I communicate with you?
@thunderZH963 Adding more invokers would be enough. They will be automatically registered to controllers. Ansible is just one way to deploy invokers. If you are able to populate all required configurations, you can just run new invokers with proper configurations. Since there are many configurations, I recommend using Ansible but IIRC, there are some downstream that deploy OW with other than Ansible.
If you want to try ansible, you can just add more hosts in the Ansible hosts file and run ansible command against the newly added hosts only. You can use --limit options to selectively run ansible commands on partial hosts.