Help Center/ ModelArts/ Troubleshooting/ Inference Deployment (New Version)/ Service Deployment/ A Pod Event Is Reported When a Real-Time Service Uses Model Warmup
Updated on 2026-11-10 GMT+08:00

A Pod Event Is Reported When a Real-Time Service Uses Model Warmup

Symptom

After a real-time service is deployed, a pod scheduling failure is reported in the service event. On the real-time service event page, the pod event contains "Insufficient, didn't match pod affinity rules". "Insufficient" usually indicates that node resources (such as CPU and memory) are insufficient. Pod affinity rules specify that pods must be scheduled to nodes with specific labels.

Possible Causes

When you deploy a real-time service and set the model source to Pre-warmed model, strong affinity rules are automatically configured to affinity to the nodes that have been pre-warmed. Based on the foregoing case, the possible causes are as follows:

  • The resources in the resource pool are insufficient for deploying the current service. Check the resource configuration of the resource pool.
  • The model warmup task is partially successful or the number of pre-warmed nodes is small. The number of instances configured for the current service is insufficient for scheduling to the nodes that have been pre-warmed.
  • A strong affinity rule is configured to forcibly deploy the service to a specific node. If the resources on the specified node are insufficient, the scheduling may fail.

Solution

  • Check the resource configuration of the resource pool. You can disable unnecessary services or scale out the resource pool. For details about how to stop a service, see User Guide > "Stopping a Service Deployment". For details about how to scale out a resource pool, see Resizing a Dedicated Resource Pool.
  • Increase the number of the model's pre-warmed nodes to meet the current service configuration. For details, see User Guide > "Adding a Model Warmup Task in a Dedicated Resource Pool".
  • For details about how to check the cause of the partial warmup success, see User Guide > "Model Warmup Is Abnormal or Partially Successful".
  • Modify the service deployment and adjust the custom strong affinity rule. For details, see User Guide > "Deploying a Model as a Real-Time Service".