Hi Hongbin, Thanks for your prompt response. With this approach I am able to scale out and scale in my Zun Containers. Looking forward for the use of k8s in future. Regards Anirudh Gupta On Tue, Mar 26, 2019 at 9:39 AM Hongbin Lu <hongbin034@gmail.com> wrote:
Hi Anirudh ,
I am not familiar with Senlin. An alternative is using Heat's ResourceGroup in which you can set the count of the resources.
It worth to mention that we are working on k8s integration [1] so another alternative in the future is using k8s deployment to scale the Zun containers.
If you are using Heat, you can reference the following template: http://paste.openstack.org/show/748357/
* Create the stack:
$ openstack stack create -t zun-template.yaml test
* Scale out:
$ openstack stack update -t zun-template.yaml --parameter "count=2" test
* Scale in:
$ openstack stack update -t zun-template.yaml --parameter "count=1" test
[1] https://github.com/virtual-kubelet/virtual-kubelet/pull/239
Best regards, Hongbin
On Mon, Mar 25, 2019 at 1:10 PM Anirudh Gupta <anyrude10@gmail.com> wrote:
I have integrated Zun service with my existing openstack setup and I am able to launch a container using Heat Template.
I am facing issue in scaling up of these contaiiners? I already have Senlin being installed at my setup, but senlin is unable to scale the cluster of containers.
Can you please suggest any alternative i can use in order to scale Zun Containers
Thanks Anirudh Gupta