In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you how to understand the HPA mechanism, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can gain something.
HPA (Horizontal Pod Autoscaler) is a mechanism that automatically adjusts the number of Pod based on monitoring indicators.
At the implementation level, HPA consists of two parts:
An API
A controller
API is used to make rules, and controllers are used to execute rules.
Rule parameter configuration
Kube-controller-manager:
-- horizontal-pod-autoscaler-sync-period: check cycle (default is 15s)
-- horizontal-pod-autoscaler-tolerance: tolerance threshold (default is 0.1)
-- horizontal-pod-autoscaler-initial-readiness-delay: initialization time, which is used to delay sampling (because it is technically impossible to determine whether Pod is ready, only one time can be predicted). Default is 30s.
-- horizontal-pod-autoscaler-cpu-initialization-period: delay sampling time dedicated to CPU. Default 5min (further confirmation is required)
-- horizontal-pod-autoscaler-downscale-stabilization: cooling time for capacity reduction. How often do you scale down? default is 5 minutes to avoid frequent expansion and reduction.
-- horizontal-pod-autoscaler-use-rest-clients: using third-party metrics
The above content is how to understand the HPA mechanism. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.