gpt4 book ai didi

mesos - 对 Mesos 术语感到困惑

转载 作者:行者123 更新时间:2023-12-02 08:21:34 27 4
gpt4 key购买 nike

我浏览了 video on introduction of DCOS .这很好,但让我对 Mesosphere 中组件定义的分类感到有些困惑。

  1. 我知道 DCOS 是一个生态系统,而 Mesos 就像一个内核。如果我错了,请纠正我。例如。我认为这就像 Ubuntu 和 Linux 内核。

  2. 什么是马拉松?它是一种服务或框架,还是不属于这两个类别的其他东西?我对 Mesosphere 上下文中的服务、框架、应用程序和任务定义有点困惑。

  3. 他在视频中推出的服务(Cassandra、HDFS、Kubernetes 等)是否也可以安全地称为框架?

  4. 从 3 开始,这些“服务”是否作为执行者在从站中运行?

  5. rails-app 的类型应该是什么?是任务吗?那么它也会有执行人吗?

  6. 当他使用 marathon 增加流量时,谁决定将 rails-app 自动扩展到更多节点。

最佳答案

1) I get that DCOS is an ecosystem and Mesos is like a kernel. Please correct me if I am wrong. For eg. It's like Ubuntu and Linux kernel I presume.

正确!

2) What is marathon? Is it a service or framework or is it something else that falls in neither category? I am bit confused in terms of service vs framework vs application vs Task definition in Mesosphere's context.

在 Apache Mesos 术语中,Marathon 是一个框架。每个框架都由一个框架调度器和一个执行器组成。许多框架重用标准执行器而不是提供自己的执行器。应用程序是 Marathon 的特定术语,意思是您通过它启动的长期运行的任务。任务是执行单元,运行在 Mesos 代理上(在执行器中)。在DC/OS(这个产品,Mesosphere是我们公司的)我们把frameworks称为通用服务。此外,在 DC/OS 的上下文中,Marathon 扮演着特殊的角色:它充当一种分布式 initd,启动其他服务,例如 Spark 或 Kafka。

3) Are the services(Cassandra, HDFS, Kubernetes, etc..) that he launches in the video can safely be also called as frameworks?

见上文。

4) From 3), are these "services" running as executors in the slaves?

没有。见上文。

5) What should rails-app's type be here? Is it a task? So will it also have an executor?

Rails 应用程序可能有一个或多个 (Mesos) 任务在一个或多个代理上的执行器中运行。

6) Who makes the decision of autoscaling the rails-app to more nodes, when he increases the traffic using marathon.

不是节点而是应用程序的实例。也正如@air 建议的那样,使用 Marathon autoscaling很简单,另见这个autoscaling example .

关于mesos - 对 Mesos 术语感到困惑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36666575/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com