def METHOD_NAME(self, host_ips):
    resp = self.api_instance.list_pod_for_all_namespaces(_preload_content=False)
    data = json.loads(resp.data)
    pod_list = []
    for info in data.get('items') or []:
        pod_name = getitems(info, ['metadata', 'name'], '')
        pod_namespace = getitems(info, ['metadata', 'namespace'], '')
        item = self.render_resource(self.resource_kind, info, pod_name, pod_namespace)
        if host_ips:
            pod_host_ip = getitems(info, ['status', 'hostIP'], '')
            if pod_host_ip in host_ips:
                pod_list.append(item)
        else:
            pod_list.append(item)
    return pod_list