简体   繁体   English

在Docker上设置Mesos和Kubernetes的命令?

[英]Setup commands for Mesos and Kubernetes on Docker?

When trying to move a web container (Tomcat) to the latest technologies for better growth and support, I came across this blog . 当试图将Web容器(Tomcat)迁移到最新技术以获得更好的增长和支持时,我遇到了这个博客 This part seems ideal for my needs: 这部分似乎很适合我的需求:

... we are also incorporating Kubernetes into Mesos to manage the deployment of Docker workloads. ...我们还将Kubernetes整合到Mesos中,以管理Docker工作负载的部署。 Together, we provide customers with a commercial-grade, highly-available and production-ready compute fabric. 我们共同为客户提供了商业级,高可用性和生产就绪型计算架构。

Now, how to setup a local test environment to try this out? 现在,如何设置本地测试环境来进行尝试? All these technologies seem interchangable! 所有这些技术似乎都是可以互换的! I can run docker on mesos, mesos on docker, etc etc etc. Prepackaged instances allow me to run on others Clouds. 我可以在mesos上运行docker,在docker上运行mesos,等等,等等。 预打包的实例使我可以在其他Clouds上运行。 Other videos also make this seem great! 其他视频也使这看起来很棒! Running out on the cloud is not a viable (allowed) option for me. 对我而言,在云上运行不可行(不允许)。 Unfortunately, I can not find 'instructions' on how to setup the configuration described/marketed/advertised. 不幸的是,我找不到关于如何设置描述/销售/广告配置的“说明”。

If I am new to these technologies, and know there will be a learning curve, is there a way to get initialized for doing such a "simple task": running a tomcat container on a Docker machine that is running Mesos/Kubernetes? 如果我不熟悉这些技术,并且知道会有所学习,是否有办法初始化这样的“简单任务”:在运行Mesos / Kubernetes的Docker机器上运行tomcat容器? That is, without spending days trying to learn and figure out each individual part! 也就是说,无需花费数天的时间去尝试学习和找出每个单独的部分! This is the picture from the blog site referenced: 这是引用的博客网站中的图片:

在此处输入图片说明

Assuming that I "only" know how to create a docker container(s) (for say, centos-7). 假设我“仅”知道如何创建docker容器(例如centos-7)。 What commands, in what order, (ie the secret 'code') do I need to use to configure small (2 or 3) local environment to try out running Tomcat? 我需要使用什么命令以什么顺序(即秘密的“代码”)来配置小型(2或3)本地环境以尝试运行Tomcat?

Although I searched quite a bit, apparently not enough! 尽管我搜索了很多,但显然还不够! Someone pointed me to this: 有人指出我这一点:

https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/mesos-docker.md https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/mesos-docker.md

which is pretty close to exactly what I was looking for. 这与我要找的东西非常接近。

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

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