[openstack-dev] [Senllin][Magnum]Add container type profile to Senlin

xuanlangjian xuanlangjian at gmail.com
Fri Nov 6 07:46:02 UTC 2015

  Good to know senlin plan to support container. Will senlin directly talk to dock API or just talk to magnum API?
  When doing autoscaling, how does senlin work with native scaling function of k8s/swarm?

> On Nov 6, 2015, at 14:05, Haiwei Xu <hai-xu at xr.jp.nec.com> wrote:
> Hi all,
> As we know, currently Senlin supports two kind of profiles: Nova instance and
> Heat stack, of course, we want to support container. After back from the summit,
> I discussed it with a Magnum Core yuanying, we reached an agreement that adding
> a container type profile support in Senlin. Maybe this idea is already thought about by you
> guys.
> Our general idea is Senlin makes a request to Docker API to start/from a container to/from
> a Magnum Bay, the container will be shown in the senlin node-list like nova instance
> And heat stack, and can also be added to one cluster or doing auto-scaling.
> Here is the profile file example:
> type: os.magnum.swarm.container
> version: 1.0
> properties:
>  bay_id: swarm_bay
>  compose_file: docker-compose.yaml
> or:
> type: os.magnum.kubernetes.container
> version: 1.0
> properties:
>  bay_id: kubernetes_bay
>  manifest: replication_controller.yaml
> We will support two kinds of container creation.
> What is your thought about this? Any comments are welcome.
> Regards,
> Xuhaiwei
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

More information about the OpenStack-dev mailing list