官术网_书友最值得收藏!

What is Kubernetes?

In general, Kubernetes can be seen as the following:

  • A container (microservices) orchestration system
  • A cluster management system for running distributed applications

As a container orchestrator, Kubernetes solves common challenges that arise when deploying containerized, cloud-native applications at scale. This includes the following:

  • Provisioning and deploying containers on multiple container hosts (nodes)
  • Service discovery and load balancing network traffic
  • Automatically scaling container instances up and down
  • Automated rollouts and rollbacks of new container image versions
  • Automatic, optimal bin-packing of containers with regard to resources such as CPU or memory
  • Application monitoring, telemetry gathering, and health checks
  • Orchestrating and abstracting storage (local, on-premises, or the cloud)

At the same time, Kubernetes can also be described as a cluster management system – the master (or multiple masters, in highly available deployments) is responsible for effectively coordinating multiple worker nodes that handle the actual container workloads. These workloads are not limited to Docker containers only  Kubernetes uses the Container Runtime Interface (CRI) on worker nodes to abstract container runtimes. Eventually, cluster clients (for example, DevOps engineers) can manage the cluster using the RESTful API that's been exposed by the master. Cluster management is performed using a declarative model, which makes Kubernetes very powerful  you describe the desired state and Kubernetes does all the heavy lifting in order to transform the current state of the cluster into the desired state.

Imperative cluster management by using ad hoc commands is also possible but it is generally discouraged for production environments. The operations are performed directly on a live cluster and there is no history of previous configurations. In this book, we will use the declarative object configuration technique whenever possible. For a more detailed discussion regarding Kubernetes cluster management techniques, please refer to the official documentation:  https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/.

The high-level architecture for Kubernetes can be seen in the following diagram. We'll go through each component in the next few paragraphs:

Let's begin by focusing on the role of Kubernetes master, also known as the control plane.

主站蜘蛛池模板: 太康县| 吉木萨尔县| 花莲县| 壶关县| 蒙阴县| 洛川县| 永济市| 漳浦县| 鄱阳县| 枣阳市| 垦利县| 商南县| 长丰县| 信阳市| 醴陵市| 蕲春县| 元朗区| 原平市| 津南区| 招远市| 铜山县| 武清区| 房产| 天镇县| 土默特右旗| 山西省| 长宁区| 明星| 上林县| 牡丹江市| 沂源县| 京山县| 忻州市| 彝良县| 运城市| 沈丘县| 息烽县| 彰武县| 丹巴县| 台州市| 大足县|