astronomer.providers.cncf.kubernetes.operators.kubernetes_pod¶
Module Contents¶
Classes¶
Async (deferring) version of KubernetesPodOperator |
- exception astronomer.providers.cncf.kubernetes.operators.kubernetes_pod.PodNotFoundException[source]¶
Bases:
airflow.exceptions.AirflowExceptionExpected pod does not exist in kube-api.
- class astronomer.providers.cncf.kubernetes.operators.kubernetes_pod.KubernetesPodOperatorAsync(*, poll_interval=5, **kwargs)[source]¶
Bases:
airflow.providers.cncf.kubernetes.operators.kubernetes_pod.KubernetesPodOperatorAsync (deferring) version of KubernetesPodOperator
Warning
The logs would not be available in the Airflow Webserver until the task completes. This is the main difference between this operator and the
KubernetesPodOperator.- Parameters
poll_interval (int) – interval in seconds to sleep between checking pod status