基础概念

Kubernetes的整体架构

image-20200117213337765


ControlPlane/Master

image-20200117213438214

  • One or More API Servers: Entry point for REST / kubectl
  • etcd: Distributed key/value store
  • Controller-manager: Always evaluating current vs desired state
  • Scheduler: Schedules pods to worker nodes

DataPlane/Worker

image-20200117213604188

  • Made up of worker nodes
  • kubelet: Acts as a conduit between the API server and the node
  • kube-proxy: Manages IP translation and routing

云上Kubernetes

云上k8s有额外的cloud-controller manager组件,用于和云资源进行通信。

image-20200117212945321

kubernetes multi master nodes

ha-master-gce