The invention discloses a Kubernetes
resource scheduling method, which comprises the following steps of: performing grouping allocation on an integral task and an operable node, performing unified scheduling; if the scheduling fails, performing
rollback to release resources, adjusting resources required by each task, and performing grouping allocation. The method comprises the following steps: S1,acquiring a
task group, judging whether the sum of current spare resources meets the overall resources required by the
task group or not, if not, not scheduling, and if so, executing the step S2; s2,acquiring a resource condition required by each task in the
task group, and acquiring a Kubernetes node and a node resource condition which can be used for executing the task; s3, grouping the tasksin the task group according to the resource conditions required by the tasks in the task group and the Kubernetes node which can be used for executing the tasks and node resource conditions ; and S5,performing
resource scheduling according to the tasks and the node groups. The invention further provides a corresponding Kubernetes
resource scheduling device and
electronic equipment. According to the invention, the cluster can be effectively scheduled, and the success rate of task scheduling is improved.