Kubelet: Difference between revisions
(→Cache) |
|||
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
Each node runs an agent called kubelet, which is responsible with the node's registration with the cluster. Once a node is registered, its CPU, RAM and storage are pooled into the wider cluster pools of corresponding resources. The kubelet is watching the API server for work (pod) assignments and attempts to run them. If it is not successful for any reason, it reports the condition back to the API server. The task of actually running the pods is delegated to the local [[Kubernetes Control Plane and Data Plane Concepts#Container_Runtime|container runtime]]. | Each node runs an agent called kubelet, which is responsible with the node's registration with the cluster. Once a node is registered, its CPU, RAM and storage are pooled into the wider cluster pools of corresponding resources. The kubelet is watching the API server for work (pod) assignments and attempts to run them. If it is not successful for any reason, it reports the condition back to the API server. The task of actually running the pods is delegated to the local [[Kubernetes Control Plane and Data Plane Concepts#Container_Runtime|container runtime]]. | ||
=Image Pulling= | |||
The kubelet performs image pulling on behalf of the pods scheduled on the node. | |||
=Cache= | =Cache= | ||
The kubelet has a cache it uses to serve various values to the node. For example, the [[Kubernetes_Cluster_Configuration_Concepts#Secrets_Projected_as_Files|secrets projected as files]] in pods running on the node are fed from this cache. The type of the cache is con�figurable. The cached values can be propagated via watch (default), ttl-based or simply redirecting all requests to the API server. | The kubelet has a cache it uses to serve various values to the node. For example, the [[Kubernetes_Cluster_Configuration_Concepts#Secrets_Projected_as_Files|secrets projected as files]] in pods running on the node are fed from this cache. The type of the cache is con�figurable. The cached values can be propagated via watch (default), ttl-based or simply redirecting all requests to the API server. |
Revision as of 17:13, 26 August 2020
Internal
Overview
Each node runs an agent called kubelet, which is responsible with the node's registration with the cluster. Once a node is registered, its CPU, RAM and storage are pooled into the wider cluster pools of corresponding resources. The kubelet is watching the API server for work (pod) assignments and attempts to run them. If it is not successful for any reason, it reports the condition back to the API server. The task of actually running the pods is delegated to the local container runtime.
Image Pulling
The kubelet performs image pulling on behalf of the pods scheduled on the node.
Cache
The kubelet has a cache it uses to serve various values to the node. For example, the secrets projected as files in pods running on the node are fed from this cache. The type of the cache is con�figurable. The cached values can be propagated via watch (default), ttl-based or simply redirecting all requests to the API server.