The invention relates to a resource scheduling method based on kubernetes. The method comprises steps of calculating all Node scores in the cluster according to a fixed rule to generate a first node priority queue, and obtaining a Pod priority queue by using a dynamic priority algorithm, wherein the two queues filter Node which cannot be scheduled to generate a second node priority queue; selecting the node with the highest priority from the Pod priority queues to bind with the Pod popped by the Pod priority queues; and if the binding succeeds, entering the next Pod scheduling cycle, if the binding fails, adopting a built-in priority algorithm to optimize Node binding from the second node priority queue, and if the binding fails again, enabling the Pod to run without an appropriate Node, and entering the next Pod scheduling cycle. The method comprises the steps of static scheduling and dynamic resource load balancing, scheduling efficiency is improved, task deployment efficiency is improved, task operation integrity and load balance of the whole cluster are improved, load balance of the cluster is actively adjusted, and resource utilization efficiency of the cluster is improved.