def METHOD_NAME(ventity, service_id):
    """获取 关联 Service 的 statefulset 列表"""
    svc = k8s.K8sService.objects.get(id=service_id)
    svc_tag = svc.service_tag
    # 获取模板中 statefulset 中的 Service tag
    ss_id_list = ventity.get_resource_id_list(K8sResourceName.K8sStatefulSet.value)
    if not ss_id_list:
        return svc.name, []
    related_ss_names = []
    ss_qsets = k8s.K8sStatefulSet.objects.filter(id__in=ss_id_list)
    for ss in ss_qsets:
        if svc_tag in ss.service_tag:
            related_ss_names.append(ss.name)
    return svc.name, related_ss_names