def __get_service_names(core_client, namespace):
    """
    Retrieves the pods for a given namespace
    :param core_client: the kubernetes API client
    :param namespace: the namespace of the pod to add into the return list
    :return: list of service names
    """
    out_names = list()
    srvc_list = core_client.list_namespaced_service(namespace)
    for srvc in srvc_list.items:
        out_names.append(srvc.metadata.name)
    return out_names