[ZUN] Scaling of containers

Hongbin Lu hongbin034 at gmail.com
Tue Mar 26 04:09:21 UTC 2019


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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190326/41ac9813/attachment.html>


More information about the openstack-discuss mailing list