This error message indicates that there are currently no available nodes in the Kubernetes cluster that can satisfy the requirements specified by the pod scheduler. The reasons for the unavailability of nodes include untolerated taints and insufficient CPU resources.

The taints on the nodes are preventing the pods from being scheduled. Each taint specifies a constraint that the pods must meet in order to be scheduled on a particular node. The taints mentioned in the error message are "master02", "master03", and "master01". These taints specify that only specific types of pods can be scheduled on those nodes, and the incoming pod does not meet these requirements.

Additionally, there is a lack of CPU resources in the cluster, which means that the available nodes do not have enough CPU capacity to accommodate the incoming pod. The error message indicates that there are no preemption victims found for the incoming pod, and preemption is not helpful for scheduling.

To resolve this issue, you can consider the following steps:

  1. Ensure that the incoming pod meets the requirements specified by the taints on the nodes. If the pod does not need to be scheduled on these specific nodes, you can remove the taints or use tolerations in the pod specification to allow the pod to be scheduled on other nodes.

  2. Check the CPU resource limits and requests specified in the pod specification. If the pod requires more CPU resources than what is available in the cluster, you may need to adjust the resource requirements or consider adding more nodes to the cluster to meet the demand.

  3. If preemption is enabled in your cluster, you can configure it to allow preemption for scheduling. Preemption allows lower priority pods to be evicted from nodes to make room for higher priority pods. However, keep in mind that preemption may not always be helpful or desirable, depending on your specific requirements.

Overall, resolving this issue involves adjusting the pod requirements, taints, tolerations, and resource allocations to ensure that the pods can be scheduled on available nodes in the cluster.

:05 nodes are available 1 nodes had untolerated taint master master02 1 nodes had untolerated taint master master03 1 nodes had untolerated taint node-rolekubernetesiocontrol-plane master01 2 Insuffic

原文地址: https://www.cveoy.top/t/topic/i7wc 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录