airflow.providers.cncf.kubernetes.k8s_model
¶
Classes for interacting with Kubernetes API.
Module Contents¶
Functions¶
|
Attach additional specs to an existing pod object. |
- class airflow.providers.cncf.kubernetes.k8s_model.K8SModel[source]¶
Bases:
abc.ABC
Airflow Kubernetes models are here for backwards compatibility reasons only.
Ideally clients should use the kubernetes API and the process of
client input -> Airflow k8s models -> k8s models
can be avoided. All of these models implement the attach_to_pod method so that they integrate with the kubernetes client.