简体   繁体   English

为Docker容器自动配置Open Stack VM

[英]Automatic provisioning of Open stack VM for Docker containers

Is there a way to automate the provisioning of open stack VM for Docker Containers? 有没有一种方法可以自动为Docker容器配置开放堆栈VM? For example I have 3 mesos slaves running on 3 open stack vms and now there are no more VM's left. 例如,我有3个mesos从属服务器在3个开放堆栈的vms上运行,现在不再有虚拟机了。 My next docker containers is waiting to be run and I want open stack to know that my docker container needs a VM and it should automatically instantiate a VM. 我的下一个Docker容器正在等待运行,我想让开放堆栈知道我的Docker容器需要VM,并且它应该自动实例化VM。 How to go about it? 怎么去呢? What open source technologies are available to make this work? 有哪些开源技术可以使这项工作奏效?

As Adam points out this is out of band of Mesos and would require some coding / scripting on your part. 正如亚当指出的那样,这超出了Mesos的范围,您需要进行一些编码/脚本编写。 You could however use the mesos-master REST API to determine capacity of the cluster. 但是,您可以使用mesos-master REST API来确定集群的容量。 {mesos-master ip}:5050/master/stats.json or {mesos-master ip}:5050/system/stats.json should provide good information {mesos-master ip}:5050 / master / stats.json或{mesos-master ip}:5050 / system / stats.json应该提供良好的信息

Based on values there, you could automate OpenStack . 根据那里的值,您可以自动化OpenStack

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM