raphaelauv opened a new pull request, #29930:
URL: https://github.com/apache/airflow/pull/29930
Add an abstract KubernetesResourceOperator
and two concrete operators : create_pvc and delete_pvc
missing documentation and tests
example of use
```python
pvc_name = "{{ run_id }}"
pvc_conf = f"""
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {pvc_name}
spec:
accessModes:
- ReadWriteOnce
storageClassName: standard-rwo
resources:
requests:
storage: 500Gi
"""
create_pvc = kubernetesPVCcreate(
task_id="create_pvc",
pvc_conf=pvc_conf,
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]