airflow.providers.cncf.kubernetes.operators.resource
¶
Manage a Kubernetes Resource.
Module Contents¶
Classes¶
Create a resource in a kubernetes. |
|
Delete a resource in a kubernetes. |
- class airflow.providers.cncf.kubernetes.operators.resource.KubernetesCreateResourceOperator(*, yaml_conf=None, yaml_conf_file=None, namespace=None, kubernetes_conn_id=KubernetesHook.default_conn_name, custom_resource_definition=False, namespaced=True, config_file=None, **kwargs)[source]¶
Bases:
KubernetesResourceBaseOperator
Create a resource in a kubernetes.
- class airflow.providers.cncf.kubernetes.operators.resource.KubernetesDeleteResourceOperator(*, yaml_conf=None, yaml_conf_file=None, namespace=None, kubernetes_conn_id=KubernetesHook.default_conn_name, custom_resource_definition=False, namespaced=True, config_file=None, **kwargs)[source]¶
Bases:
KubernetesResourceBaseOperator
Delete a resource in a kubernetes.