[ZUN] Scaling of containers

Anirudh Gupta anyrude10 at gmail.com
Tue Mar 26 07:52:18 UTC 2019


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 at 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 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/2489505d/attachment.html>


More information about the openstack-discuss mailing list