Resource scheduling method and device based on k8s cluster
The invention discloses a resource scheduling method and device based on a k8s cluster. The resource scheduling method based on the k8s cluster comprises the steps that a dynamic application creating request of a client side is responded, whether a dynamic pod can be created through a dynamic resour...
Gespeichert in:
Hauptverfasser: | , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a resource scheduling method and device based on a k8s cluster. The resource scheduling method based on the k8s cluster comprises the steps that a dynamic application creating request of a client side is responded, whether a dynamic pod can be created through a dynamic resource pool or not is confirmed, and the dynamic pod is the pod of a dynamic application; and if the dynamic pod cannot be created by using the dynamic resource pool, allocating resources from the static resource pool and executing the creation of the dynamic pod. The resource utilization rate in the cluster can be improved.
本申请公开了一种基于k8s集群的资源调度方法及装置。该基于k8s集群的资源调度方法包括:响应于客户端的动态应用创建请求,确认能否利用动态资源池创建动态pod,所述动态pod为所述动态应用的pod;若不能利用动态资源池创建动态pod,从静态资源池分配资源而执行所述动态pod的创建。本申请可以提高集群中资源利用率。 |
---|