How to use Zun to deploy apps in Openstack?

asked 2019-03-30 00:07:05 -0500

bharghvi gravatar image

I wish to provide deployment of an application to any developer (a service like PaaS). I currently allow deployment without using containers. If I wish to use containers, how can I do this?

edit retag flag offensive close merge delete


A short video (less than two minutes) showing how Zun can be used to deploy the command "ping" on a Cirros Docker image:

Bernd Bausch gravatar imageBernd Bausch ( 2019-03-30 03:03:33 -0500 )edit

Thank you for the suggestion. But I wish to deploy the app directly on the container. My goal is not to just boot up a glance image

bharghvi gravatar imagebharghvi ( 2019-03-31 12:26:18 -0500 )edit

The video deploys the ping app on a Docker image, not a Glance image. In fact, no Glance image appears in the video at all.

More correctly: Zun can get Docker images from Glance or the Docker hub or a local registry. It is not known where the video’s Cirros image is from, but its a Docker image.

Bernd Bausch gravatar imageBernd Bausch ( 2019-03-31 17:05:52 -0500 )edit

Right, Zun pull image from DockerHub by default.

hongbin034 gravatar imagehongbin034 ( 2019-04-27 12:04:39 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2019-04-27 12:16:27 -0500

hongbin034 gravatar image

To summarize above comments, OpenStack Zun is the service that allows you to directly deploy your containerized app to OpenStack (without any VMs or cluster). It pulls images from DockerHub by default, with a config option to switch to private registry.

You can use Zun in standalone, or you can use Zun together with an orchestrator (recommended for complex deployment). Right now, the supported orchestrator is Heat or Kubernetes.

For Heat, here is an example: .

For k8s, here is the details:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-03-30 00:07:05 -0500

Seen: 284 times

Last updated: Apr 27 '19