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.
Attributes¶
Module Contents¶
- tests.system.cncf.kubernetes.example_kubernetes_resource.pvc_conf = Multiline-String[source]¶
Show Value
""" apiVersion: v1 kind: PersistentVolumeClaim metadata: name: toto spec: accessModes: - ReadWriteOnce storageClassName: standard resources: requests: storage: 5Gi """