The invention discloses a cyclic
resource scheduling method,
system and device based on Kubernetes and a medium, and the method specifically comprises the steps: collecting
resource use data of Pod and nodes in a Kubernetes cluster in real time, and predicting a load trend; dividing the resources into a hot
resource pool, a cold
resource pool and an idle
resource pool based on the prediction results of the
resource use data and the load trend; according to the
electricity price and carbon emission data of each region, dynamically adjusting task distribution, and preferentially scheduling the task of the thermal resource
pool to a region with a high
renewable energy source proportion; for the cold resource
pool and the idle resource
pool, executing a progressive
dormancy process by monitoring the
power consumption change in real time; and training a
reinforcement learning scheduling strategy by taking the
queue length of the hot resource pool, the
recovery time of the cold resource pool and the calling frequency of the idle resource pool as input. According to the invention, intelligent
cyclic scheduling of Kubernetes cluster resources is realized, the
resource utilization rate is improved, the
energy consumption cost is reduced, the service continuity is guaranteed, and the intelligent level of scheduling decision is improved.