tests.system.amazon.aws.utils.k8s

Functions

get_describe_pod_operator(cluster_name, *[, pod_name, ...])

Return an operator that prints kubectl describe pod(s) output in the Airflow logs.

Module Contents

tests.system.amazon.aws.utils.k8s.get_describe_pod_operator(cluster_name, *, pod_name=None, namespace=None)[source]

Return an operator that prints kubectl describe pod(s) output in the Airflow logs.

Exactly one of pod_name or namespace must be provided.

Parameters:
  • cluster_name (str) – Name of the EKS cluster

  • pod_name (str | None) – Describe a single pod by name

  • namespace (str | None) – List and describe all pods in the given namespace

Was this entry helpful?