Ask Your Question
0

How can we Scale Zun Containers

asked 2019-03-19 05:31:52 -0500

Anirudh gravatar image

I have integrated openstack setup with ZUN services. How can I Scale up my Zun Containers on the basis of any condition that gets fulfilled?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-04-27 11:56:29 -0500

hongbin034 gravatar image

updated 2019-04-27 11:57:19 -0500

There are people asking a similar question in ML in before, and here is my answer: http://lists.openstack.org/pipermail/... .

In short, you can use Heat together with Zun and scale Zun containers using Heat templates. For example, 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

Another option is using Virtual Kubelet with OpenStack provider so that you can scale Zun containers in k8s. Please refer this for details: https://github.com/virtual-kubelet/vi...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-03-19 05:31:52 -0500

Seen: 61 times

Last updated: Apr 27