In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you how Rancher is scheduled according to computing resources, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.
Introduction
Scheduling by computing resources is basically the standard configuration of all major orchestration engines, and Rancher has also introduced this feature after v1.2. However, some friends think that the current implementation is not so smart, so they do not know how to schedule by computing resources. Therefore, this text teaches us how to schedule according to computing resources.
Realization mechanism
The implementation of Rancher is relatively simple, which is mainly implemented through scheduler services in Infra services. The overall logical architecture is as follows:
Scheduler will subscribe to Rancher Events, mainly events related to scheduler. When there is a scheduling need, scheduler will receive a message and return the appropriate scheduling target to cattle through calculation. For example, if memory and cpu are supported as the benchmark, scheduler will constantly calculate the resource usage according to the data changes of metadata, and finally sort the scheduling target according to the resource surplus, so that the goal of scheduling by computing resource can be achieved.
It was said before that the implementation of Rancher is not intelligent, which is that when calculating resource usage, Rancher is not calculated through a complex data collection mechanism, but through the way users mark reservation when creating service. Many friends do not notice this place:
In addition, the total amount of resources in each node is also configurable, and we can make an overall reservation setting, such as:
The above is how Rancher is scheduled according to computing resources. Have you learned any 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.