def METHOD_NAME(k8s_client: CoreV1Api,
                                    namespace: str) -> dict:
    """
    Get the first airflow worker pod in a given namespace, matching the airflow
    worker naming pattern.
    return: {'pod_id':'143.3.4.6', 'pod_name':'whatever-pod'}
    """
    pods = k8s_client.list_namespaced_pod(namespace=namespace)
    pod_name_pattern = r'^airflow-worker-([A-Za-z0-9]+)-([A-Za-z0-9]+)$'
    for pod in pods.items:
        if (pod.status.phase == 'Running' and
                re.match(pod_name_pattern, pod.metadata.name)):
            return {'pod_ip': pod.status.pod_ip, 'pod_name': pod.metadata.name}
    raise ValueError('Airflow worker pod not found')