k8s after performing kubectl create-f replicaset.yaml how it works

Reference: improve productivity kubectl use [translation]

English original: Https://Learnk8s.Io/blog/kubectl-productivity/

Kubernetes architecture

Kubernetes by a set of separate components, these components be run on a separate node in the cluster as some components running on Master node, some components running on Node node, each component has some specific features.

The Master node main components are the following:

  • etcd : storage backend, resource information throughout the cluster exist inside etcd

  • apiserver-Kube : API service provided to the entire cluster, is the only component that interacts directly and etcd

  • the Controller-Manager-Kube : controller, mainly to ensure that state resources in line with expectations

  • Scheduler-Kube : a scheduler to schedule the working node Pod

Node node on the most important components:

  • kubelet container on the management node:

In order to understand how the components between these work together, we will look at the example above, if we execute the above command, kubectl to create ReplicaSet the API Endpoint launched an HTTP POST request, this time we cluster any changes it? Look at the following presentation:kubectl create-f replicaset.yaml

 

Guess you like

Origin www.cnblogs.com/robinunix/p/11262976.html