def parse_list_response(list_resp):
    """
    Parse out and format the json response from the kube api
    Example response:

    Pod Name                       | Status    | Pod IP         | Node Name
    -------------------------------+-----------+----------------+------------
    landing-page-76b8b9677f-nmddz  | Running   | 10.144.420.69  | salt-work1
    """

    response_message = (
        "Pod Name                      | Status    | Pod IP          | Node Name\n"
    )
    response_message += (
        (30 * "-") + "+" + (11 * "-") + "+" + (17 * "-") + "+" + (12 * "-")
    )
    for pod in list_resp.get("items"):
        pod_name = pod.get("metadata", {}).get("name", "Not Found")
        status = pod.get("status", {}).get("phase", "Not Found")
        pod_ip = pod.get("status", {}).get("podIP", "Not Found")
        node_name = pod.get("spec", {}).get("nodeName", "Not Found")

        response_message += f"\n{pod_name:30}| {status:10}| {pod_ip:16}| {node_name:11}"

    return response_message