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

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.

主站蜘蛛池模板: 宜川县| 定安县| 新野县| 阳江市| 河东区| 略阳县| 高要市| 灯塔市| 文山县| 信宜市| 上犹县| 灵台县| 浠水县| 蒲城县| 当涂县| 增城市| 温泉县| 太仆寺旗| 务川| 灌云县| 五指山市| 民和| 衡阳县| 乌鲁木齐市| 自治县| 合水县| 太谷县| 白城市| 南汇区| 绥化市| 邵武市| 政和县| 华阴市| 天柱县| 冕宁县| 贺兰县| 涿鹿县| 海安县| 永泰县| 平阳县| 岳西县|