diff --git a/pkg/ring-controller/agent/vcjobworker.go b/pkg/ring-controller/agent/vcjobworker.go index 1e3b878e6f58a9c701b03dc66c37ffc436c0281c..f6d79cf196a26e35f7f459602fb26bb4e1757f57 100644 --- a/pkg/ring-controller/agent/vcjobworker.go +++ b/pkg/ring-controller/agent/vcjobworker.go @@ -237,11 +237,6 @@ func (b *VCJobWorker) doPreCheck(pod *apiCoreV1.Pod, podInfo *podIdentifier) (bo return true, true, fmt.Errorf("syncing '%s' terminated: corresponding job worker "+ "is no longer exist (basis: job version number)", podInfo) } - if version64 != 0 { - if _, ok := pod.Annotations[PodRankIndexKey]; !ok { - return true, false, fmt.Errorf("the %s key of pod(%s/%s) does not exist", PodRankIndexKey, pod.Namespace, pod.Name) - } - } // check whether pod has used npu if used := containerUsedChip(pod); !used {