How can we Scale Zun Containers

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

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

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

hongbin034 gravatar image

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

There are people asking a similar question in ML in before, and here is my answer: .

In short, you can use Heat together with Zun and scale Zun containers using Heat templates. For example, you can reference the following template:

  • 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:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 109 times

Last updated: Apr 27 '19