gpt4 book ai didi

docker - Kubernetes 与 Docker : What Does It Really Mean?

转载 作者:行者123 更新时间:2023-12-04 13:18:28 24 4
gpt4 key购买 nike

我知道 Docker 和 Kubernetes 不是直接的竞争对手。 Docker 是容器平台,容器由工具 Kubernetes 协调调度。

它的真正含义是什么,我如何在 Docker for Azure 上部署我的应用程序?

最佳答案

简短的回答:

  • Docker(以及一般的容器)解决了打包应用程序及其依赖项的问题。这使得在任何地方运输和运行都很容易。
  • Kubernetes 是容器之上的一层抽象。它是一个控制/管理容器的分布式系统。

  • 我的建议:因为 landscape是巨大的......开始学习并将拼图的各个部分放在一起学习类(class)。下面我添加了一些信息:
  • Introduction to Kubernetes ,来自 Linux 基金会的免费在线类(class)。

  • 为什么我们在容器之上需要 Kubernetes(和其他编排器)?

    In the quality assurance (QA) environments, we can get away with running containers on a single host to develop and test applications. However, when we go to production, we do not have the same liberty, as we need to ensure that our applications:

    • Are fault-tolerant
    • Can scale, and do this on-demand
    • Use resources optimally
    • Can discover other applications automatically, and communicate with each other
    • Are accessible from the external world
    • Can update/rollback without any downtime.

    Container orchestrators are the tools which group hosts together to form a cluster, and help us fulfill the requirements mentioned above.


    Nowadays, there are many container orchestrators available, such as:

    • Docker Swarm: Docker Swarm is a container orchestrator provided by Docker, Inc. It is part of Docker Engine.
    • Kubernetes: Kubernetes was started by Google, but now, it is a part of the Cloud Native Computing Foundation project.
    • Mesos Marathon: Marathon is one of the frameworks to run containers at scale on Apache Mesos.
    • Amazon ECS: Amazon EC2 Container Service (ECS) is a hosted service provided by AWS to run Docker containers at scale on its infrastructrue.
    • Hashicorp Nomad: Nomad is the container orchestrator provided by HashiCorp.

    关于docker - Kubernetes 与 Docker : What Does It Really Mean?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50345741/

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