目录

Pod

ReplicaSet

Deployment 

Service

Node

参考


 

 

Pod

一个或多个容器的集合

Pod (as in a pod of whales or pea pod) is a group of one or more containers (such as Docker containers), with shared storage/network, and a specification for how to run the containers.

K8s系列:pod、node、service ReplicaSet概念_ide

K8s系列:pod、node、service ReplicaSet概念_ide_02

 

ReplicaSet

管理Pod的控制器(通过selector )

A ReplicaSet is defined with fields, including a selector that specifies how to identify Pods it can acquire, a number of replicas indicating how many Pods it should be maintaining, and a pod template specifying the data of new Pods it should create to meet the number of replicas criteria.

K8s系列:pod、node、service ReplicaSet概念_docker_03

 

 

Deployment 

管理ReplicaSets

Deployment provides declarative updates for Pods and ReplicaSets.

 

K8s系列:pod、node、service ReplicaSet概念_ide_04

 

Service

用于管理不同pod里面的、具有相同label标签的容器(把相同label的归为一类service)

An abstract way to expose an application running on a set of Pods as a network service.

K8s系列:pod、node、service ReplicaSet概念_docker_05

 

K8s系列:pod、node、service ReplicaSet概念_docker_06

 

 

Node

一台虚拟机或物理机

A node is a worker machine in Kubernetes, previously known as a minion. A node may be a VM or physical machine, depending on the cluster. 

K8s系列:pod、node、service ReplicaSet概念_ide_02