def METHOD_NAME(ventity, resource_name, resource_id):
    """检查包含 pod 的资源是否被模板内的 Service 关联"""
    model_class = get_model_class_by_resource_name(resource_name)
    pod_res = model_class.objects.get(id=resource_id)
    deploy_tag = pod_res.deploy_tag
    pod_res_tag = "%s|%s" % (deploy_tag, resource_name)
    # 获取模板中 Service 的 关联的 pod tag
    service_id_list = ventity.get_resource_id_list(K8sResourceName.K8sService.value)
    if not service_id_list:
        return pod_res.name, []
    related_svc_names = []
    service_qsets = k8s.K8sService.objects.filter(id__in=service_id_list)
    for svc in service_qsets:
        if pod_res_tag in svc.get_deploy_tag_list():
            related_svc_names.append(svc.name)
    return pod_res.name, related_svc_names