In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to protect Kubernetes Critical Pod". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's ideas to study and learn "how to protect Kubernetes Critical Pod".
Kubelet Eviction Manager Admit
Kubelet calls syncLoopIteration on a loop every 1s in syncLoop, obtains the event from config change channel | pleg channel | sync channel | houseKeeping channel | liveness manager's update channel, and then calls the corresponding event handler for processing.
ConfigCh: dispatch the pods for the config change to the appropriate handler callback for the event type
PlegCh: update the runtime cache; sync pod
SyncCh: sync all pods waiting for sync
HouseKeepingCh: trigger cleanup of pods
Liveness manager's update channel: sync pods that have failed or in which one or more containers have failed liveness checks
In particular, houseKeeping channel has event every houseKeeping (10s), and then executes HandlePodCleanups to perform the following cleanup operations:
Stop the workers for no-longer existing pods. (each pod corresponds to a worker, that is, goruntine)
Killing unwanted pods
Removes the volumes of pods that should not be running and that have no containers running.
Remove any orphaned mirror pods.
Remove any cgroups in the hierarchy for pods that are no longer running.
Pkg/kubelet/kubelet.go:1753func (kl * Kubelet) syncLoopIteration (configCh
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.