tests.system.cncf.kubernetes.example_kubernetes_resource

This is an example DAG which uses KubernetesCreateResourceOperator and KubernetesDeleteResourceOperator. In this example, we create two tasks which execute sequentially. The first task is to create a PVC on Kubernetes cluster. and the second task is to delete the PVC.

Module Contents

tests.system.cncf.kubernetes.example_kubernetes_resource.pvc_name = 'toto'[source]
tests.system.cncf.kubernetes.example_kubernetes_resource.pvc_conf[source]
tests.system.cncf.kubernetes.example_kubernetes_resource.ENV_ID[source]
tests.system.cncf.kubernetes.example_kubernetes_resource.DAG_ID = 'example_kubernetes_resource_operator'[source]
tests.system.cncf.kubernetes.example_kubernetes_resource.t1[source]
tests.system.cncf.kubernetes.example_kubernetes_resource.test_run[source]

Was this entry helpful?