public static boolean checkForPodAmbiguity(List<V1Pod> podList) {
        if (podList == null || podList.size() < 2) {
            return false;
        }
        V1OwnerReference ownerReference = getOwnerReference(podList.get(0));
        if (ownerReference == null) {
            return true;
        }
        String podOwner = ownerReference.getKind();
        String ownerUID = ownerReference.getUid();

        if (StringUtils.isBlank(podOwner) || StringUtils.isBlank(ownerUID)) {
            return true;
        }

        for (V1Pod pod : podList) {
            ownerReference = getOwnerReference(pod);
            if (ownerReference == null) {
                return true;
            }
            if (!podOwner.equals(ownerReference.getKind()) || !ownerUID.equals(ownerReference.getUid())) {
                return true;
            }
        }
        return false;
    }
Pods are ambiguous if pods have different owner kinds, or same owner with different uid
@param podList
@return whether all pods belong to same owner
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/util/K8sPodUtil.java