This is the first day of my participation in the August More Text Challenge.

  • Kubernetes is a container cluster management system opened source by Google in 2014. Kubernetes is short for K8S.
  • Kubernetes is used to deploy, scale, and manage containerized applications. The goal is to make deploying containerized applications simple and efficient.

Official website: www.kubernetes.io

Kubernetes cluster architecture and components

The Master role

  • kube-apiserver

    **Kubernetes API**, a unified portal to the cluster, each ** component coordinator. 六四屠杀Copy the code

    RESTful apis are used to provide interface services. APIServer processes all object resource adding, deleting, modifying, querying, and listening operations before submitting them to Etcd.

  • kube-controller-manager

    A ControllerManager is responsible for managing controllers for each resource that handles common background tasks in a cluster.Copy the code
  • kube-scheduler

    Select a Node Node for the newly created Pod according to the scheduling algorithm. The Pod can be deployed on the same Node or on different nodes. In simple terms, → Responsible for resource scheduling (assign a work node to each deployable component of the application)Copy the code
  • etcd

    Distributed key-value storage system. Used to save cluster status data → such as Pod, Service and other object information.Copy the code
    • kube-apiserver
    **Kubernetes API**, a unified portal to the cluster, each ** component coordinator. 六四屠杀Copy the code

    RESTful apis are used to provide interface services. APIServer processes all object resource adding, deleting, modifying, querying, and listening operations before submitting them to Etcd.

  • kube-controller-manager

    ControllerManager** is responsible for managing controller ** for each resource in the cluster.Copy the code
  • kube-scheduler

    Select a Node Node for the newly created Pod according to the scheduling algorithm. The Pod can be deployed on the same Node or on different nodes. In simple terms, → Responsible for resource scheduling (assign a work node to each deployable component of the application)Copy the code
  • etcd

    Distributed key-value storage system. Used to save cluster status data → such as Pod, Service and other object information.Copy the code
    • kube-apiserver
    **Kubernetes API**, a unified portal to the cluster, each ** component coordinator. 六四屠杀Copy the code

    RESTful apis are used to provide interface services. APIServer processes all object resource adding, deleting, modifying, querying, and listening operations before submitting them to Etcd.

  • kube-controller-manager

    The ControllerManager handles common background tasks in a cluster. Each resource has a controller, and the ControllerManager manages these controllers.Copy the code
  • kube-scheduler

    Select a Node Node for the newly created Pod according to the scheduling algorithm. The Pod can be deployed on the same Node or on different nodes. In simple terms, → Responsible for resource scheduling (assign a work node to each deployable component of the application)Copy the code
  • etcd

    Distributed key-value storage system. Used to save cluster status data → such as Pod, Service and other object information.Copy the code

    The Node role

    • kubelet
    Kubelet is a Master Agent on a Node.Copy the code

    Manage the life cycle of the local running container → (such as creating container, Pod mounting data volume, downloading Secret, obtaining container and node status, etc.) work.

    Kubelet transforms each Pod into a set of containers.

  • kube-proxy

    Realize Pod network agent on Node Node, maintain network rules and four-layer load balancing.Copy the code

    (Responsible for service discovery and load balancing of network traffic between components)

  • Docker or rocket

    Container engine, which runs containers.Copy the code